Hi,
I have been playing around with custom css in order to remove the padding (35 px) on all my vantage pages. I have only succeded in removing them on the homepage.
Also tried with the footer padding but still have around 10 pixel on the left side.
Please help.
Here is my custom css code:
/* Vantage Boxed Layout Site Width */
body.responsive #page-wrapper {
max-width: 940px !important;
}
/* Header padding */
header#masthead {
padding: 0 !important;
}
header#masthead hgroup {
padding: 0 !important;
}
.main-navigation {
margin: 0 !important;
}
body.responsive header#masthead hgroup .support-text, body.responsive header#masthead hgroup #header-sidebar {
display: none !important;
}
/* Home padding */
.home #main {
padding-top: 10px !important;
padding-bottom: 10px !important;
padding-right: 0px !important;
padding-left: 0px !important;
}
/* Footer padding */
#colophon {
padding-top: 10px !important;
padding-bottom: 10px !important;
padding-right: 0px !important;
padding-left: 0px !important;
}
/* Remove Meta Slider padding */
.metaslider .theme-light.slider-wrapper {
padding: 0; /* remove padding */
}
Hi Troels
Thanks for running Vantage.
If you’re referring to the padding around the #main div you could adjust that as follows:
Footer padding looks as follows:
Why are you needed to adjust padding on the sides of the footer?
Thanks a lot. Now padding/margin is 0 in the body :)
Have a Little challenge with the footer. Still can make the left margin/padding to 0 px. Need it to align with the body.
Code:
/* Footer padding */
#colophon {
padding-top: 0px !important;
padding-bottom: 0px !important;
padding-right: 0px !important;
padding-left: 0px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
margin-right: 0px !important;
margin-left: 0px !important;
background: transparent !important;
}
Talking about the “Tri for Livet” text. Is it because it’s in a pagebuilder container?
Give this a try to resolve that little bit of footer padding:
Talking about the “Tri for Livet” text. Is it because it’s in a pagebuilder container?
You’ll need to explain a bit further, not following you there unfortunately. Thanks!
Thanks – that worked :)
Super, glad to hear that helped.