فتحات العرب Joomla! • Index page: General Questions/New to Joomla! 2.5 • Re: getting responsive

Tuesday, September 2, 2014

General Questions/New to Joomla! 2.5 • Re: getting responsive

Per Yngve Berg wrote:



Add "display: inline-block; *display: inline;" to have them side by side. The one with the star is because IE does not understand inline-block.



Use Media-Type to have different css for each screen size.

http://ift.tt/1uRU9et



Change the doctype line in the template to use html5 instead of xhtml.

Code:

<!DOCTYPE html>

<html xmlns="http://ift.tt/rO9lWA; xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">







I can't find where to change the doctype. I would assume that is in the template files but can't find it.



Also, How do I add the css file info to my php code file so it will pull in the css info with joomla. I tried just putting the info into the top of my php code file but I end up with a blank error page.

Statistics: Posted by kclark — Tue Sep 02, 2014 1:40 pm








via Joomla! http://ift.tt/1rdDf9W

No comments:

Post a Comment