Premium support

Please log in to post in these forums. If you didn't create an account when you purchased, please contact us.

Free support

If you haven't purchased GP Premium, support for the free theme can be found on WordPress.org.

[Resolved] how to move site title up or down in header

Home Forums Support how to move site title up or down in header

This topic contains 5 replies, has 2 voices, and was last updated by  Leo 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #494856

    Ray

    Hello

    I am using GP2 premium, and can’t find the code
    to move the site title down in the header. It is too
    close to the top.

    I used this for the site description, and it responds to the
    different values I enter:

    }
    .site-description {
    margin-top: 15px;
    }

    But I tried this for the title, and no response when I
    put different values in:

    }
    .site-title {
    margin-top: 20px;
    }

    I see some stuff online using “position, absolute”, but
    I know nothing about how to choose the right CSS.

    TWO QUESTIONS:

    How to move the site title up/down with CSS, and

    Will it still render proportionately correct in mobile?

    Thanks

    Ray

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #494905

    Leo
    Customer Support

    Hi there,

    Shouldn’t need CSS.

    Try adding some header padding: https://docs.generatepress.com/article/header-padding/

    Let me know if this works.

    #496554

    Ray

    Thank you Leo.

    But when I use padding, my header Logo is no longer in the correct position,
    as it moves with the site title.

    Is it NOT appropriate to use CSS, or just best to try padding first?

    And is it now best to use CSS to move logo to proper placement?

    Sorry, I am totally new to CSS.

    #496710

    Leo
    Customer Support

    Nah I just thought you wanted to move them together.

    This should move the site title down:

    .main-title {
        padding-top: 20px;
    }
    #497531

    Ray

    Thanks Leo. That’s the flex I was looking for.

    Am looking at some CSS tips online, but really
    appreciate the help!

    #497762

    Leo
    Customer Support

    Developer tool from your browser will be your best friend if you want to learn CSS 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.