changing the width of page.php single.php and sidebar.php
-
Howdy!
I am working on a child theme and I need (^__^) to set a different width for two template pages that I am using. One template is a full width page and the other one has a sidebar with a text widget on the side. The width that I need to change is the one defined by the primary id.
On the full width page I managed to do this by changing the span12 class to span10.
On the other template I left the same span4 in the sidebar.php and I changed only the span in the single.php file from span8 to span6 so to obtain again a width of 10 (6+4).
My problem is that all these elements are floating left and I cannot find a way to center them maintaining a full responsiveness.
Is anyone trying to achieve the same result as I am doing?
Any idea?
Thankssss
- The topic ‘changing the width of page.php single.php and sidebar.php’ is closed to new replies.