Support » Fixing WordPress » removed search box and now need less header depth

  • Resolved joneve

    (@joneve)


    http://www.theperegrinemuse.com/PoetsInternational/

    After reading directions on another forum I deleted some code under header.php and it removed my header search box as I wanted but I think I have more space between the lines of names in the black box under the photo. The appearance of the page has altered and it looks like the depth of the header box should be narrowed – there is more space between the lines of names than is pleasing.

    Can this be done?

    Thank you.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    Can you link the thread that gave you the advice to delete the code under header.php?

    joneve

    (@joneve)


    The 8th post down, getting rid of everything to do with removing search.

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    Are you sure that’s the right site?

    joneve

    (@joneve)


    No, and I realized my mouse didn’t pick up the new link and went back to get the right link and its gone! I think it has been replace with a new page.

    The page where I got it suggested going to the header.php page in Dashboard and deleting all of the text referring to search. There were, I believe, two instances with some code between them.

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    The issue is that these WordPress.org forums don’t provide support for these sorts of modifications unless you’ve set up a Child Theme.

    joneve

    (@joneve)


    What is a Child Theme?

    Is there CSS code I can put in my CSS place to modify my header depth or change the spacing between the lines in the black box under the photo?

    In future should I not modify anything – come here first?

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    In future should I not modify anything – come here first?

    No, modify anything you want. It’s the best way to learn & you’re free to do so.

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    Child Themes are best explained here: http://codex.wordpress.org/Child_Themes

    joneve

    (@joneve)


    Thank you. When you say “modify anything you want” do you mean anything can be fixed?

    Okay, I’ll check out “Child Themes” – thank you for the link.

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    Anything can be fixed, although there’s a limit as to what level of help these forums can provide. We can help out with things like “I have an error on line 48” and “There’s some empty space here”, if problems are too big then you may need to hire someone to support you.

    joneve

    (@joneve)


    Okay, thanks. Got it. I think I’ll come here first if it looks real risky. I hope to make good judgements in that regard.

    Anyway, would you have coding I can put on my header.php page to reduce the spacing between the lines of names in the black box under my photo?

    Thank you.

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    Try adding this to your Child Theme style.css file, at the bottom:

    #access a {
     margin: 0 10px;
    }

    joneve

    (@joneve)


    I have a plug in already: Custom CSS Manager Plugin Settings

    And in my CSS area I have code already, which the plug in made possible, which makes it possible to enclose normal (no italics) text within blockquotes and more coding which makes it possible to manually select parts of the text to italicize.

    Would a Child Theme be necessary given that I have this plugin? Would it be possible to add the coding you give me above without making a Child Theme?

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    joneve

    (@joneve)


    I read it but don’t know how to create a themes directory and so forth so I thought I’d find out if it were necessary first. I see that it is because I tried pasting the code in my CSS directory and it doesn’t work.

    I don’t know how to do this:
    Create a directory in your themes directory to hold the child theme. The theme directory is wp-content/themes. You should name the directory without any space as part of the name, and it is common practice to use the name of the parent theme folder with “-child” appended to it.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘removed search box and now need less header depth’ is closed to new replies.