- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
My website is http://www.dinner-club.co.uk
I am trying desperately in vain to lose the header (white space) at the top of the homepage.
The element I am trying to style (or believe I need to style) is the class .customSection and .scooterSection, both of which have padding-top of 83px.
I have rewritten the padding-top value to 0px but it doesn’t seem to be working, can anybody help me please?
Thanks
Paul
I have rewritten the padding-top value to 0px
Could you tell us how and in which file?
Hi Shikkediel
Thanks for getting in touch.
In the following file, I have written the following code, which doesn’t seem to work:
.scooterSection .customSection {
padding-top: 0px;
}
The file is themes > the moon > assets > ccs > theme-styles.css
Any idea?
Looks like the original style is placed inline (added by some script perhaps), you could try adding an !important
:
.scooterSection .customSection {
padding-top: 0 !important;
}
It’s normally not preferred but seems unavoidable here.
Thanks Shikkediel, I’m quite new to CSS and wasn’t aware of this. I read that it’s not usually advised but it has done the trick, thank you!