Public Ticket #65

Full Page (no sidebar) Home Page Extra Padding on Top

Joseph Replied 8 days, 19 hours ago on November 4th at 4:13am

default avatar

Joseph

supervisor_account Staff

Apologies, there are missing brackets for some reasons. Try the following instead:

@media (min-width: 768px){
body.page-id-{id} #content.site-content #content-left-col #primary.content-area {
    padding: 0 0;
}
}

Thanks!

Anne-Marie Michaelis Replied 9 days, 5 hours ago on November 3rd at 6:19pm

default avatar

Anne-Marie Michaelis

loyalty 3 Tickets

This CSS caused the following error messaging "unexpected token 'body' at line 632, col 1' and did not work.

Joseph Replied 9 days, 7 hours ago on November 3rd at 3:34pm

default avatar

Joseph

supervisor_account Staff

Hi, Anne-Marie Michaelis

You can use the following CSS code to remove the page padding:

@media (min-width: 768px)
body.page-id-{id} #content.site-content #content-left-col #primary.content-area {
    padding: 0 0;
}

Replace {id}, with the ID of the page.

Cheers

Anne-Marie Michaelis started a discussion October 31st at 4:22am

default avatar

Anne-Marie Michaelis

loyalty 3 Tickets

How do I remove the extra padding / space on the top of a full page (no sidebar) so the home page banner is flush with the navigation?  I don't want to mess up any of the other pages.  Just the home page (marketing public facing page) needs to have banners that are aligned all the way to the top without the white space (padding).  Please help!

Advertisement

Ticket Details

Friendly Reminder

Support Includes the Following:
  • checkAnswer related questions
  • checkRelated technical questions
  • checkAssistance with reported bugs and issues
  • checkHelp recommended 3rd party plugins
Not Included:
  • × Customization Services
  • × Installation Services
  • × 3rd Party Plugins Customisations