[Support request] Changing Sidebar Articles

Home Forums Support [Support request] Changing Sidebar Articles

Home Forums Support Changing Sidebar Articles

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2381430
    Ella

    Hey!

    My sidebar posts are all the same as they’re all showing the most recent posts. See here: https://www.totallypurrfect.com

    The bar at the top shows the most recent, then we have a image posts with most recent and a list of “Most Recent.” What are my different options for displaying different posts? Can I add a #MostPopular tag and then feature them based on that to mix it up, etc? And how do I go about doing that please?

    Also, I want a long sidebar on desktop, but not on mobile, so how do I hide certain sidebar elements from showing on mobile please?

    Thanks so much,
    Ella

    #2381510
    Ying
    Staff
    Customer Support

    Hi Ella,

    Your sidebar is using WP show posts to show the posts, you can change the conditionals of the WP show posts lists at dashboard > WP show posts.

    If you want to hide the 2nd and 3rd widget on homepage, try this CSS:

    @media (max-width: 768px) {
    .home .inside-right-sidebar > *:nth-child(2), .home .inside-right-sidebar > *:nth-child(3) {
        display: none;
    }
    }

    If you want to hide the 2nd and 3rd widget on single post, try this CSS:

    @media (max-width: 768px) {
    .single-post .inside-right-sidebar > *:nth-child(2), .single-post .inside-right-sidebar > *:nth-child(3) {
        display: none;
    }
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.