[Support request] Remove Top Padding or Margin on Homepage Hero Image

Home Forums Support Remove Top Padding or Margin on Homepage Hero Image

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1141598
    Greg

    I have a hero image on my homepage that I would like to touch the menu. I have created a layout element for this page and set it to full width. I only want to remove the padding/margin on this page. I have other full width pages and I would like to keep the top padding/margin. Is there a way to style only 1 particular layout element? Thanks!

    #1141616
    David
    Staff
    Customer Support

    Hi there,

    this CSS will remove the top margin just for the home page:

    .home.full-width-content .entry-content {
        margin-top: 0;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.