• Building a bookable cabin rental website, and using the free Hotelone template. Happy overall with the look, except when you click on a category…you’ll notice in the header image area it says Accommodation Category: Handicap Accessible.

    I am desperately trying different css codes to remove the words Accommodation Category as it’s so tacky. It’s doing this with all the categories, and I would sure appreciate it if someone could share the css code to remove this???

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    There’s no CSS to do that; there HTML markup is insufficient. You’ll have to create a plugin (or make a child theme) to remove the category title part.

    It would be via *something like* this:

    https://gretathemes.com/guides/remove-category-title-category-pages/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What about adding something like this to the “Additional CSS” section of the dashboard:

    
    html .subheader .subheaderInner .pageTitleArea {
        display: none;
    }
    
    .subheaderInner {
        min-height: 226px;
    }
    
    Thread Starter pjones1969

    (@pjones1969)

    Andrew, thanks again for responding here. Unfortunately that code didn’t work for me, but I sure appreciate you trying.

    Steven, your response was spot on. Although it was not the answer I was looking for….when I went to “inspect” it (don’t always understand that), and hovered over that area to see the code…it’s all attached.

    Editing the css file to remove the .subheader (or whatever code it was), it removes everything. Seems they did not separate it within the theme. Sadly, creating a “child theme” is far above my pay grade….they can deal with it. lol

    Appreciate you both!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Css code to hide the category title??’ is closed to new replies.