New Landing How can we help? Themeforest Theme Support Neighborhood Hide dash and text indent on homepage blog posts using short code

Viewing 4 posts - 1 through 4 (of 4 total)
  • #95584
    Nickylew
    Member
    Post count: 35

    Hi,

    I wish to hide the dash and get rid of the text indent of the first line for the excerpt using the [display-posts] shortcode. I seem to be able to hide the dash easily enough but cannot get rid of the text indent.

    How can I do this please.

    Many Thanks

    Attachments:
    You must be logged in to view attached files.
    #95594
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi!

    Change your dash css to

    .display-posts-listing span.excerpt-dash {
    margin-left: -10px;
    }

    and let me know if that solved it please!

    #95612
    Nickylew
    Member
    Post count: 35

    Awesome. Sorted. I had actually tried that exact css but with an extra display:none in there too which meant the dash disappeared but the indent remained. So getting rid of that has sorted it.

    Thanks!

    #95680
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Melanie

    – Kyle

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register