Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to remove top & bottom padding for a single page after Header & Footer have been removed?


Recommended Posts

I am basically building a landing page and had to remove both header and navigation bar as well as footer. But after removing it (with a custom CSS code for a single page) I was then left with blank space on top and bottom. I'd like to remove this space. Please help 😇

 

 

Link to comment

Hi. Which code did you use? & Your site url?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
13 hours ago, RX12 said:

Site URL is: https://www.alchemyofliving.co.uk/new-cover-page-3

And code I used for a single page is: 

<style type="text/css">
.Header-inner, 
.Footer,
.tweak-mobile-bar-top-fixed .Mobile-bar--top {
    display: none!important;
}
</style>

Use new code

<style>
.Header-inner, .Footer, .tweak-mobile-bar-top-fixed .Mobile-bar--top {
    display: none!important;
}
  section.Main-content {
    padding-top: 10px;
    padding-bottom: 10px;
}  
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...