Site logo

[Support request] How to load sidebar widget first for mobile, before other page content

Home Forums Support [Support request] How to load sidebar widget first for mobile, before other page content

Home Forums Support How to load sidebar widget first for mobile, before other page content

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2203407
    Dave

    I bought Generate Press Premium Lifetime, and I want to update my site, https://LocateHome.com/ to use the GP Premium theme, instead of iFeature Pro 5 by CyberChimps, but I need a real estate search widget to load FIRST so that it will be the first thing to load on mobile, as it is with my current theme.

    On full page, computer screen, I prefer the sidebar on the left, as in my current theme (iFeature Pro 5), but it is critical to have the widget load FIRST for mobile, whether in the left or right sidebar.

    When I preview the GP theme, the widget is on the right side, and when reducing the screen to simulate mobile view, it is far down the page, loading after the main page content.

    How can achieve the desired layout, please?

    Thank you,
    Dave K.

    #2203421
    Fernando
    Customer Support

    Hi Dave,

    This layout is definitely achievable, and one way to do this is through custom CSS. For instance, try adding this to Appearance > Customize > Additional CSS:

    @media (max-width: 768px) {
        .site-content .sidebar {
            order:-1;
        }
    }

    This should put your sidebar on top on mobile view. If this doesn’t work however, may you kindly send the link to the site in question so we can provide a more appropriate solution?

    Kindly let us know. 🙂

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