Site logo

[Resolved] Cannot create header element with menu below text

Home Forums Support [Resolved] Cannot create header element with menu below text

Home Forums Support Cannot create header element with menu below text

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2450262
    Bruce

    I am developing a website at brucel27.sg-host.com
    I want it to look similar to https://www.sokokifallsfarm.com/

    I created a header element with text for the site title and padded it with 100px above and below.
    Despite trying many settings, I cannot get the menu be below the text that I entere3d for site title.
    What am doing wrong?
    Thanks
    Bruce

    #2450482
    David
    Staff
    Customer Support

    Hi there,

    can i see your site ?

    #2450522
    Bruce
    #2450531
    David
    Staff
    Customer Support

    No problem 🙂
    If you really need to use an Element, then use a Block Element instead:

    https://docs.generatepress.com/article/block-element-hook/

    And set the Hook to: before_header

    The Block element is good if you want to visually style the content or add other stuff, but if you want just the site title
    then it would be better to set just use the Theme Header and set it to display the Site title in Customizer > Site Identity.

    #2450553
    Bruce

    Thanks David,
    That gets me part way there, but can I add padding the top, so it isn’t at the top?
    And can I control the spacing between the block and the navigation?

    As I said, I am trying to achieve something like https://www.sokokifallsfarm.com/

    #2450556
    David
    Staff
    Customer Support

    Ok, with a Block Element, i would suggest you use our GenerateBlocks Plugin:

    https://wordpress.org/plugins/generateblocks/

    Those GB Headline Block has spacing controls so you can add padding or margin to it:

    https://docs.generateblocks.com/article/headline-overview/

    #2450734
    Bruce

    Your solution worked out great. And now I know more about generate blocks too.
    Thanks

    #2451301
    David
    Staff
    Customer Support

    Awesome – glad to be of help!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.