[Resolved] Adjust Margin Above Page Title

Home Forums Support Adjust Margin Above Page Title

  • This topic has 5 replies, 2 voices, and was last updated 2 months ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1379427
    Andres

    Hello again,

    How can I add more space above the title on pages? The settings in Customizer are global, and I needed it on just pages, please.

    I’ve provided a URL for a page for reference. I would like to increase the space above the title and below grey are the nav bar is in.

    Many thanks. You guys are the best.

    Have a good day.

    Cheers!

    Andrés

    #1379500
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .page header.entry-header {
        padding-top: 20px;
    }
    #1379565
    Andres

    Hello Leo,

    Thank you!

    What do I need to add to that CSS to make it specific to mobile? At present, it affects both desktop and mobile, and the padding that looks good on desktop, is too much for mobile.

    Have a good day.

    Cheers!

    Andrés

    #1379631
    Leo
    Staff
    Customer Support

    Try this:

    @media (max-width: 768px) {
        .page header.entry-header {
            padding-top: 20px;
        }
    }
    #1379699
    Andres

    Hello Leo,

    Thank you very much!

    Have a good one.

    Andrés

    #1379857
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.