WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] twentyten child - hide site title and description (14 posts)

  1. Olly - OWMC
    Member
    Posted 3 years ago #

    i want to do this css stylee to keep SEO.

    for some reason this aint workin.

    #site-title {
        display:none;
    }
    #site-description {
      display:none;
    }

    http://oliverwieland.com/sultan-carpets-flooring/

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    for some reason, you have got some invalid characters in these styles:

    #site-title {
    Â Â Â Â display:none;
    }
    #site-description {
    Â Â display:none;
    }

    what kind of editor have you used?

    try to go to the 'dashboard' 'appearance' 'editor' and edit style.css there.

  3. Olly - OWMC
    Member
    Posted 3 years ago #

    awesome. thanks alchymyth. i use textwrangler on a mac.

    i had my file as a utf8 or something. i made the change using the wordpress editor and then downloaded the file to see what format it was. The correct settings are Western (Mac OS Roman) and Unix (LF).

  4. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    I guess I'm a newbie compared to you guys! I tried editing the "display: none" from my dashboard but it's not working. I tried it with and without a space after the colon. This is what I have so far...

    /* =Header
    -------------------------------------------------------------- */

    #site-title {
    display:none;
    }

    #site-description {
    clear: left;
    float: left;
    font-style: normal;
    }

    :-S Do I need to download these files to my computer or am I making a more simple mistake???

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    @SpeakingOfTOEFL

    your way of editing is ok; the css looks ok;

    is your theme Twenty Ten or a child of it?

    without seeing the whole, it is near impossible to guess what might be wrong there.

    link to your site?

  6. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    @alchymyth

    Sorry for the late response!!! My dashboard says I've got Twenty Ten 1.1 Is that alright?

    My website is:
    http://www.badabinghostel.com/

    (I've just deleted my site name so that nothing displays above the banner at the moment)

    Thanks SO much for your help :-)

  7. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    ohhh... because if I haven't made a child theme, then I can't make any changes to the template? lemme try that... amateurs! ha! *blushing*

  8. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    the code you used is ok.

    to make changes to the styles immediately visible on the browser, you might need to clear the browser cache, by pressing 'CTRL F5' or the 'reload' button.

  9. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    It isn't a refresh issue. I've been refreshing a bunch of times for various reasons. But I don't have a child theme yet. I'm working on making one but it's kind of like shooting in the dark for me. ;-)

  10. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    if you don't have a child theme, edit style.css of twenty ten nad make the changes there.

  11. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    Ok, I made a child theme with limited success. The only thing I've done is make a style.css document in a subfolder of themes.

    Everything seems to be fine -- and now I'm able to name my site and suppress the display of it on the page (one small success!). HOWEVER, I now have some bizarre situation where the alignment is on crack and my periods are moved to the BEGINNING of a line. I've been playing around -- changing various declarations' "float: right" to "float: left" -- but that isn't working. Clearly there's a bigger issue here.

    Maybe I need to make changes in the "One column, no sidebare" template?!

    Any ideas? :-)

  12. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    is it intentional to set the whole site to right-to-left text direction:

    body {
    	direction:rtl;
    	unicode-bidi:embed;
    }
  13. SpeakingOfTOEFL
    Member
    Posted 3 years ago #

    :-D
    No it wasn't intentional at all. It was the result of naive copy-pasting. So I changed it to "direction:rtl" to "ltr" Issue resolved. :-D

    Balance has been restored in the Bada Bing Hostel universe. Thank you sooo much.
    ~~~~~~~~~
    This is unrelated, so I could start a new thread because I haven't seen anything about it in the last few pages of FAQ posts for Twenty Ten but...

    Is there any way to remove the black bar ABOVE the header image?

  14. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    in your child theme style.css, add:
    #branding img { border-top: none; }

    or find the style of
    #branding img { ... }
    in your stylesheet and edit it there

Topic Closed

This topic has been closed to new replies.

About this Topic