Home Forums Basel support forum Hide Category Names

Hide Category Names

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39601

    darkblack
    Participant

    Hi,
    Could you please tell me, how do i remove the category name text from the “featured category” grid on the home page (refer attached)
    My category names are pretty long and i want to put the category names (short version) on the image itself.
    If there is any other way where i can set a grid 5 images in the same way as the attached image and link them each manually to a category page, i can do it to. Please advice
    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #39605

    darkblack
    Participant

    I understand that i need to put a function in the functions.php specifically for the homepage on the lines of this one => https://wordpress.stackexchange.com/questions/217881/remove-css-styles-from-specific-page

    Can you kindly give me the exact piece of code which disables the class=”hover-mask” ONLY for the home page. Thanks a lot!

    #39663

    Artem Temos
    Keymaster

    Hello,

    Here is CSS code snippet to hide product categories titles on the home page.

    .home .cat-design-default .hover-mask {
    	display: none;
    }

    Regards

    #39669

    darkblack
    Participant

    Works! Thanks a tonne!

    #39682

    Artem Temos
    Keymaster

    Great, you are welcome!

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

The topic ‘Hide Category Names’ is closed to new replies.