WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Last Tweet Widget
[resolved] Metadata dashes won't go away (6 posts)

  1. timpascal
    Member
    Posted 1 year ago #

    Using the jltw(w) function in a template. I removed unwanted parts of the output using the CSS:

    /* The different action links */
    .juiz_al_reply { display:none; }
    .juiz_al_retweet { display:none; }
    .juiz_al_fav { display:none; }
    
    /* The tweet metadata */
    .juiz_last_tweet_metadata { display:none; }  
    
    /* The baseline */
    .juiz_last_tweet_follow_us { display:none; }

    I am left with the dash ('-') separators at the end of the tweet. How can they be removed?

    http://wordpress.org/extend/plugins/juiz-last-tweet-widget/

  2. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    You can use this code :
    .juiz_last_tweet_widget .juiz_last_tweet_inside .juiz_lt_content {border-bottom: 0;}

    Have a nice day.
    G.

  3. timpascal
    Member
    Posted 1 year ago #

    Thanks for the reply Geoff. It doesn't look like a border problem to me. It seems to be a content problem. For example this tweet:

    Now #Hiring: #WebTAS FSE - #ColoradoSprings #jobs t.co/oUJyfisIOM - -

    I want to remove the ' - -' at the end of the tweet. These are the separators for content that is no longer displayed and unfortunately they don't seem to be styled by the classes that I'm hiding with 'display:none;'. Perhaps you could wrap these separators with a class as well so that I could nuke em. Does that make sense?

  4. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Oh ok !
    Why using CSS if you are using template function?
    You can remove the links using :

    $jltw_args = array(
       'links' => false,
       /*etc.*/
    );
    jltw($jltw_args);

    If you want to use CSS only, you can do :
    .juiz_ltw_sep {display:none!important;}

    Have a nice day !

  5. timpascal
    Member
    Posted 1 year ago #

    Good point. In the template function, I changed 'links' to false and nothing happened. So I used your CSS fix and it worked fine. Thanks for your help.

  6. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, thank you for the feedback.
    I'll try to do some tests ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.