css trickery on full width page
-
I read every article about this I could find and I’m still having trouble.
Using the Gently theme here.
I created a new full-width-page template (full-width-page.php), and that worked fine: example here
Now I need to add css to make these pages fill the whole width, and I’m just not pulling it off. I got this from a tutorial:
@media (min-width: 601px) and (max-width: 1920px){ .page-template-page-fullwidth #primary, .content-area{ margin: 0 5px 10px 15px; width: 100%; }
Put it in the ‘edit css’ box under ‘appearance’ where I have other css bits and pieces that are working.
Can anybody point out the error of my ways, please? Many thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘css trickery on full width page’ is closed to new replies.