[Resolved] using elements with Hook in generate_inside_mobile_header

Home Forums Support [Resolved] using elements with Hook in generate_inside_mobile_header

Home Forums Support using elements with Hook in generate_inside_mobile_header

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #1573378
    Bruce Wayne

    using elements with Hook in generate_inside_mobile_header
    then i’ve to adding a picture there and it’s show at the left side
    question is how to move it from left side to the right side with custom position ?

    Thanks

    #1573395
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know 🙂

    #1573421
    Bruce Wayne

    i can show only this

    #1573423
    Bruce Wayne
    #1573432
    Leo
    Staff
    Customer Support

    It’s really not possible for me to help and provide the CSS without seeing the site live.

    Can you duplicate the layout on a staging site so I can be more helpful?

    #1573435
    Bruce Wayne

    ok here is the site

    #1573449
    Leo
    Staff
    Customer Support

    Are you using the hook element?

    If so can you add the content in a <div> like this?

    <div class="mobile-icon">
        your content here
    </div>
    #1573450
    Bruce Wayne

    how to move it the the right side with custom position ?

    #1573452
    Bruce Wayne

    yes it Hook in generate_inside_mobile_header
    i want to move this content to right side as this picture below

    https://ibb.co/ZBBcLNX

    #1573467
    Leo
    Staff
    Customer Support

    Try this CSS now:

    .mobile-header-navigation .inside-navigation .mobile-icon {
        order: 2;
        padding-right: 10px
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1573472
    Bruce Wayne

    working now but it’s very stick with menu icon.
    can we move it to left about 10px ?

    #1573475
    Leo
    Staff
    Customer Support
    #1573481
    Bruce Wayne

    working now , one more last question.
    is it possible to move “menu” to the left side and move “logo” the the right side with custom px
    any suggestion ?

    Thanks.

    #1573485
    Leo
    Staff
    Customer Support

    Just to confirm, you want to swap the position of the logo and hamburger toggle?

    #1573488
    Bruce Wayne

    yes correct how to do it and how to custom it to left and right with custom px

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