lverkeyn

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Shopping theme: How can I hide Comment Box? #2177
    lverkeyn
    Participant

    Hi Omotenashi,

    I hide comments sitewide… no comment boxes appear anywhere. If this is what you want here is the code I used.
    You can put it in the css field found here: dashboard>appearance>customize>then click CSS and put this in the white box:

    .entry-comments, #respond {
        display: none !important;
    }

    I found this out by using Firebug, an add-on for Firefox browser. Firebug allows you to click on a Div on a page and find out the CSS that it is currently using. Using firebug, I realized that the comment section was in a div with an id of “respond” and that its css code was all listed in this css:

    .entry-comments, #respond {
    (here was a list of css properties)
    }

    so then I knew I had to copy that code into my custom css code, and change (or in this case, just add the line:
    display: none !important;
    in between the brackets…
    you leave the theme’s css stylesheet alone, and only input the custom code.

    in reply to: How can I hide page title ? #2160
    lverkeyn
    Participant

    I’m using the child theme of Omega, “shopping”… and I’ve hidden the title on my pages.
    I used Firebug for Firefox to see what class is used in my theme… it was called entry-title.
    when you know what the css class is for your heading title, you can then put this in your custom css panel in your theme admin area (you would change .entry-title to whatever your title class is on your theme… it may be the same…

    /* comment out the page title from showing */
    .entry-title {
    display: none;
    }

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