Okay
  Public Ticket #1647570
Sidebar CSS
Closed

Comments

  • bamboodental started the conversation

    Hello, I am using 'Nectar Recent Posts Extra' in my sidebar. I would like to remove the date that appears below each post. How can I do this?

    Thanks :)

  •  9,001
    Tahir replied

    Hey,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •   bamboodental replied privately
  •  9,001
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    #sidebar .widget ul.nectar_widget[class*="nectar_blog_posts_"] > li .post-date {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  • bamboodental replied

    Brilliant, thanks that works!

    Now, is it possible to have different CSS for different sidebars. So I can have these dates disabled for 'Blog sidebar' but enabled for 'Extra sidebar'?

    Thanks

  •  9,001
    Tahir replied

    No i am afraid there is only the option of using the Css classes added to the Body Html div  .


    Below should remove it only on the Blog page . Also you can try adding css on per page basis using the Custom css Box in the Page Builder. 

    .blog #sidebar .widget ul.nectar_widget[class*="nectar_blog_posts_"] > li .post-date {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team