badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Slash between categories

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #67024
    rebelsnotes
    Participant

    Hi there,

    I sometimes assign two or three categories to one post. Those are now above the title of my post, which is fine, but it almost reads like one sentence. What I would like is something like a / or ~ or | to distinguish between the categories. I have tried to find css to help me with this, but cannot seem to get it to work. Can you maybe help me with this?

    Kind regards,
    Marie

    #67120

    Hi @rebelsnotes,

    To add “/” between the categories then please go to Appearance > Customize > Additional CSS and paste the below custom css code.

    .entry-meta.category-meta .cat-links a {
        margin-right: 4px;
    }
    .entry-meta.category-meta .cat-links a:before {
        content: "/ ";
    }
    .entry-meta.category-meta .cat-links a:hover:before {
        text-decoration: none;
    }
    .entry-meta.category-meta .cat-links a:first-child:before,
    .post-block .entry-meta.category-meta .cat-links a:before,
    .post-img-wrap .entry-meta.category-meta .cat-links a:before {
        display: none;
    }

    Thank you!

    #67147
    rebelsnotes
    Participant

    This worked perfectly, thank you!

    Kind regards,
    Marie

    #67276

    @rebelsnotes

    Could you also please help us rating this theme in WordPress Repository here.

    We really appreciate your rating.

    Thank you for using our theme.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.