Changing Margins and Padding
-
Hello.
I found an article on how to change the margins and padding of pages somewhere else where you provided this css code:
@media (min-width: 1200px) { .container { max-width: 1500px; width: 100%; } }I applied the code which worked for the site, except the top bar and footer were also affected. How can I make this modification without affecting the width of the top bar or footer which i would like to extend to both ends of the screen?
How’s how my advance settings reads after adding the above code:
.headerclass .container { width: 100%; padding: 0; } .virtue_banner img { width: 100%; max-height: 400px; padding-bottom: 40px; } .topclass .kad-topbar-right { width: 100%; } .topclass .kad-topbar-right p { margin: 1em 0; } .topclass .kad-topbar-right a { display: block; text-align: center; } .topclass .kad-topbar-left { display: none; } @media (min-width: 1200px) { .container { max-width: 1500px; width: 100%; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Changing Margins and Padding’ is closed to new replies.
