[Resolved] Change widget placement on mobile

Home Forums Support [Resolved] Change widget placement on mobile

Home Forums Support Change widget placement on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #936453
    Tully

    Hi guys,

    I am trying to have some (or all, if that isn’t practical) of my widgets appear before the main content on mobile rather than below it. http://www.workingsheepdogtraining.com/product-category/masterclass-sheepdog-training-videos/

    On mobile I would like the first two widgets (category search and login) to appear above page content, and the facebook widget to appear below it. I’ve tried some of the other suggested code on other similar questions but can’t get my head around modifying the code to suit my situation, sorry!

    #936482
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS to move sidebar widgets on top of content on mobile:

    @media (max-width: 768px) {
        #content {
            display: flex;
            flex-direction: column-reverse;
        }
    }

    Unfortunately I don’t believe it’s possible to separate the widgets so the last one is at the bottom with CSS.

    Let me know if this helps 🙂

    #936491
    Tully

    Great, thanks Leo.

    #936497
    Leo
    Staff
    Customer Support

    No problem 🙂

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