Okay
  Public Ticket #2246399
Remove text in VC element
Closed

Comments

  • Kevin started the conversation

    HI - we are trying to edit the WP-Bakery element "recent posts" > Minimal - and we've removed the extra elements we don't want but if you look at the URL above you will see that we are still showing the word "in" after the date in the post header area - the full meta here is date "in" category - so "May 10, 2019 in Uncategorized" would typically show - we are able to hide the category in CSS but the word "in" has no class or element we can tie to. I have scoured the .po files thinking I would find this in there and I "thought" I did but I haven't been able to get rid of this.... Can you point me to the right direction?

  •  3,023
    Andrew replied

    Hi Kevin,

    To remove the "in" text in that meta area try the following CSS:

    .blog-recent .meta{
        color:transparent;
    }
    .blog-recent .meta span{ 
    color:grey !important;
    }
    

    The first bit makes the color of all the meta text transparent, then the second part adds color to specific parts of the meta the span with the date.

    That seems to work.
    Add the css to salient \ general settings - css script related - custom css code.
    Hope this helps. 

  •  8,992
    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):

    .blog-recent[data-style="minimal"] .meta {
        visibility: hidden;
    }
    .blog-recent[data-style="minimal"] .meta span {
        visibility: visible;
    }

    Thanks


    ThemeNectar Support Team