• Hello, I’ve tried dozens of CSS solutions to remove the date, comments and categories icons and text from my posts using the Snapshot wordpress theme, but none of them seem to work with this theme. Perhaps I am doing it wrongly – I am pasting the suggested CSS code into the Edit Themes editor (Appearance -> Editor), eg:
    .post-info{
    display:none;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there!

    Are you pasting the code in your parent theme’s style.css file?

    If so it’s unlikely to work (and not the recommended way to do it as you will lose your changes when the theme updates).

    It’s best to add extra code to your child theme’s style.css or in a custom css plugin such as Simple Custom CSS.

    A plugin is the easiest way but we can guide you through setting up a child theme if you have a lot of changes to make.

    I hope that helps ??

    Luke the Daft Duke

    Thread Starter XofD

    (@xofd)

    Hello Mr Daft Duke (if that is your real name!),

    As you’ve no doubt guessed, I’m very new to wordpress, so I appreciate your help.

    I think that I was trying to put the CSS into the parent theme. I’m not sure if I ever created a child, unless a new post is a child (I doubt it). If creating children is more difficult than a plug in, let’s try the plug in approach. I have downloaded the plugin, and see a new option in Appearance. I put the .post-info CSS code (above) into this, but the elements are still in the header.

    If this at least the right approach, what is the correct CSS code?

    The only other task I wish to achieve (as well as removing the date, comments and categories in the header bar), is to remove the empty left sidebar / margin or at least make it dynamically compresses to nothing when the browser or ios window is narrowed. Can you help with this – I started this issue in another post – is that a problem?

    Thanks.

    Hi again!

    Yeah, that’s the right approach ??

    I think this code should do the trick for you:

    #page-title .post-info{
    display:none;
    }

    I’ll take a look at your other post, if it hasn’t been answered already.

    I hope that sorts it for you !

    Luke the Daft Duke (not my real name but much more memorable ?? )

    Thread Starter XofD

    (@xofd)

    Ta da! This is brilliant – thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Snapshot remove date, comments and categories’ is closed to new replies.