How to get rid of extra space?

  • Anonymous


    One thing… you can leave the padding property in the element. Just add the margin property below the padding property. Otherwise your text is going to be closer to the top of the footer box.



    Ok shall do…any ideas for the one at the top? I tried what you said earlier but hated that extra line…and there was just too much space. Must be the same idea to do here to tighten up the space at the top and get rid of that extra new grey space?



    Okay, I’m assuming here that I know what I’m doing with child themes… lol

    You want to change a property in your .breadcrumb element

    So, here is what your .css looks like currently for that element…

    .breadcrumb {
    background: none repeat scroll 0 0 #EEEEEE;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 15px;

    And you want to make it look like this…

    .breadcrumb {
    background: none repeat scroll 0 0 #EEEEEE;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: -2px;
    padding: 5px 15px;

    Notice the difference in the margin-bottom property.

    Now, however you work your magic… go make it happen!!



    You rock 🙂


    So from what I’ve found about child themes is they are awesome because they are really easy and all you’re doing is making a new style sheet, for example, with just the elements you want to override from the base code. Make sense? So for example I have a new folder called graphene-child, and in it is just functions.php and styles.css so I can just put in there what I want to be different from the main theme stuff. Make sense? It’s just a

    “here are the things I want to be different, leave the rest alone please” kind of theory.



    Yes. It sounds extremely easy!! So, in this last adjustment you made… did you just paste what I provided into your graphene-child/style.css file?

    Where does the “graphene-child” folder reside on your server? Is it in the graphene folder, or is it listed with all the other theme folders?



    Yup…just pasted it into the graphene-child/styles.css file. So in other words…we said…ignore what the original code said and use our tweak instead.

    It lives at the same level as the graphene folder in the themes folder.

    So…try this…in your themes folder, add a new folder:


    and make a new styles.css file

    Then in the WP dashboard, go to Appearances > Editor

    And look in the top right for the drop down menu…and you’ll see that you now have the option to edit either main graphene theme files OR the new one in the child folder.

    The other thing I learned about thanks to this forum are hooks, which go in the functions file, and make modifications fabulously efficient. Updates don’t knock them out. Footer, functions and styles are the only three files I have in my child folder and show up in that wp dashboard drop down and which I modify.



    Awesome. I’ve bookmarked this page for future reference. I’m not quite ready to start making all the adjustments again… I think I’ll wait until the next update rolls out.

    Thanks for the detailed instructions.

    Do you mind giving me a brief example of what you used a hook for?



    Let me just say this…

    I walked away from it for a few weeks…then the update came out…and I had NO idea what I’d done. So…I highly recommend just getting it over with now, you will be happy you did while it’s fresh.

    Just take anything you changed in the base files and put them in a new file, same name, in the graphene-child folder. I swear you will be happy you did…it’s just too hard to remember what you did later.

    I don’t remember what I did with hooks but if you search raindance + hooks you’ll find it easily in my posts/answers. See what I mean? I already forgot.



    lmao… got it. Yeah, I’ve got quite a bit of research to do.

    Thanks again. I’m sure our paths will cross here again at some point in the future 🙂



    Here are the posts I found where it was discussed for my issues:

    No kidding…I already totally forgot what we used it for. I’m telling ya…make your child theme happen now while it’s fresh 🙂

Viewing 10 posts - 21 through 30 (of 34 total)

  • You must be logged in to reply to this topic.