Okay
  Public Ticket #2634869
Delete recentand popular post only on the catgeory pages
Closed

Comments

  •  2
    Saliant started the conversation

    Hi how can we delete the popular en recent posts only from the category pages?

  •  2,963
    Andrew replied

    Hi There,

    Please send your website url.

    Thanks.

  •   Saliant replied privately
  •  2,963
    Andrew replied

    Hi Saliant,

    Please try this css: 

    .single .vc_row-fluid > .blog-recent[data-style*="classic_enhanced"], .single .vc_row-fluid > .blog-recent[data-style="material"] {
        display: none;
    }

    Hope this helps.

    Thanks.

  •  2
    Saliant replied

    Hi, i did not slove the issue :(

  •  2,963
    Andrew replied

    Hi Saliant,

    Please turn off this option:

    6695040670.png

    You can as well send me screenshots of the posts if this does not work.

    Thanks

  •  2
    Saliant replied

    Hi that did not work, also it deleted the related posts in the post itself, which i did not want :(

    Below a screenshot of the automaticallt generated category page. As you can see the sidebar is still there 


    4450215720.png
  •  2,963
    Andrew replied

    Hi Saliant,

    Try this css:

    @media only screen and (min-width: 1000px){
    #sidebar.span_3 {
        display: none;
    } }

    Hope this helps.

    Thanks.

  •  2
    Saliant replied

    Hi, 

    The css works, however it also removes it from the main page where I do want the sidebar. I just dont want it in all the category pages 

  •  2,963
    Andrew replied

    Hi Salient.

    Please send us your login credentials with admin privileges so that we can look into the issue further.

    Thanks

  •   Saliant replied privately
  •  2,963
    Andrew replied

    Hi Saliant,

    Please try this css:

    div#nectar_popular_posts-2 {
        display: none;
    }
    div#recent-posts-extra-2 {
        display: none;
    }

    Hope this helps.

    Kind Regards.

  •  2
    Saliant replied

    hi,

    Nope. It removes all the recent and popular post, instead of only on a particular page.

  •  8,849
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .archive div#nectar_popular_posts-2 {
        display: none;
    }
    .archive div#recent-posts-extra-2 {
        display: none;
    }

    Thanks


    ThemeNectar Support Team 

  •  2
    Saliant replied

    That worked like a charm. Thank you :)