[Resolved] Sidebar above content for mobile

Home Forums Support [Resolved] Sidebar above content for mobile

Home Forums Support Sidebar above content for mobile

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #751092
    Gevorg

    Hello,

    I am trying to have one of the sidebar textboxes appear above the content for mobile devices. I believe this is not something available through the GP premium settings.

    Could you please provide a code for this?

    The textbox ID is 3.

    Thank you!

    #751118
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    It’s not possible to move a single widget, but we can move the entire sidebar above the content.

    An alternative would be to use a Hook Element and add your content in the generate_before_main_content hook.

    Just wrap your content in this element so it only shows on mobile:

    <div class="hide-on-desktop hide-on-tablet">
        Your mobile stuff
    </div>
    #751120
    Gevorg

    Hi Tom,

    Thanks for the quick reply.

    What would go in the “Your mobile stuff” for a single widget? Or if it is still not possible to do for a single one, then for all. Sorry, not knowledgeable.

    #751123
    Tom
    Lead Developer
    Lead Developer

    It would be best to just manually enter the content from your widget. What kind of widget is it?

    #751126
    Gevorg

    It is a text widget but I don’t know how that goes as a code.

    #751128
    Gevorg

    Should I just copy paste the text?

    #751129
    Gevorg

    Ok, I think I got it working. Thanks much again!

    #751155
    Tom
    Lead Developer
    Lead Developer

    Awesome! You’re welcome 🙂

    #751479
    Gevorg

    Tom,

    I hope you can take a look at this strange issue as well.

    When I add a link to the button on the homepage, it completely breaks. The hero section just disappears. And yesterday, I also discovered that the same happens when I try to modify the SEO title and meta description of the homepage. So pretty much anything I touch breaks the homepage.

    #751533
    Leo
    Staff
    Customer Support

    Sorry is this related to the original question?

    If not any chance you can open a new support topic for the separate question so it’s easier for us to track the issues?

    Thanks!

    #751632
    Gevorg

    Sure, I will do that.

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