Change post category label?


#1

Each post shows the label with the name of its category that I would like to delete, change the size or move to another position in each post ?


#2

Hi,

You want to remove only category or everything ( the whole area, category, tags and permalink )? Also, please post a link to your site, so we can check.

Best Regards,
Csaba


#3

I found the code to delete it:

#posts-grid span.cat-link {
display: none;
}

but what if I would just like to move/resize it ?


#4

Hi,

To resize it, just add font-size or if you want to move it then add margin-left(-right, -top or -bottom ) to it, but if you can specify what exactly you want to do and post a link to your site, then I can give you a working Custom CSS exactly for that.

Best Regards,
Csaba


#5

http://www.cirkelvaneenheid.be/blog/

thanks, you can put each blue box with white text in it to position it in the bottom right corner of the yellow rectangle(s) but the box can be smaller and also the text; I will take it from there if I want to make changes


#6

Hi,

That’s not possible with Custom CSS, so unfortunately we can’t help you with that as Support, to achieve that you may need to modify some theme files, to make the box and font smaller I can help you if you need to do that, but moving the box out of it’s position requires some code modifications too.

Best Regards,
Csaba


#7

ok, then a smaller box


#8

Hi,

You can make the box smaller with this Custom CSS:

.cat-link {
    padding: 5px !important;
    font-size: 12px !important;
}

Add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba