[Resolved] Move site description (tagline) UNDER logo image in header

Home Forums Support Move site description (tagline) UNDER logo image in header

  • This topic has 7 replies, 2 voices, and was last updated 7 months ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1168250
    RJ

    I changed the header.php template in wp-content/themes/generatepress/inc/structure to accomplish this but I’m using a generatepress_child theme and would like to change it there. (I tried using copy/paste code to functions.php in the child theme from earlier support threads to no avail.)

    How can I add this change to the functions.php file in my child theme?

    I’m using latest versions of GP and GP Premium. WP 5.3.2. PHP 7.3.X.

    #1168357
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can undo that change and we can just use some CSS instead?

    If you want to actually modify the file, you’d need to copy the header.php file, paste it in the child theme folder and modify it in there.

    The simple solution is just to use some CSS.

    Let me know 🙂

    #1168474
    RJ

    Sure, I’d be happy to modify it with CSS.

    #1168492
    Leo
    Staff
    Customer Support

    Try this CSS:

    .inside-header {
        display: flex;
        flex-direction: column-reverse;
    }
    #1168496
    RJ

    Perfect! Thanks!

    By the way, when I first pasted your snippet into the Additional CSS pane of the Customizer and Published, the preview pane didn’t show any change but the live page (in a different browser) did. When I removed it from the CSS pane, the preview pane showed the change! I don’t have any caching plugins installed yet.

    Exiting the Customizer and then going back to it with the pasted CSS, everything looked and worked as it should.

    #1168520
    Leo
    Staff
    Customer Support

    Sounds like some sort of caching issue to me.

    Glad it’s working now!

    #1168572
    RJ

    Thanks! Definitely caching issue.

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