problem with column display

  • nic.sarbu

    #3950

    Hello, I’m new here, so sorry if I post this in the wrong section. I have updated to Graphene 1.6.2 on monday, and today, some time after posting a new post on my blog, the 2-column layout which I had before disappeared (although in Options it still shows “2 columns”) and everything looks as if I had ONE column, as wide as the browser, like this:

    http://www.sciencefriction.ro/

    Can anybody please help me restore the original look? I tried disabling the slider (it posts two posts simultaneously) but it does’t seem to work. I also have a child theme…

    Do you have any suggestions/ideas? Please tell me what other details you need.

    Help is much appreciated, thank you!

    Nic Sarbu

    Admin

    Syahir Hakim

    #26140

    Looks like you have a header.php file in your child theme. Try removing that and it should be working again.

    nic.sarbu

    #26141

    Thank you, Syahir, it looks like THAT problem got solved just as you said. But that lead to a different problem. The reason I had a “header.php” în my child theme was that I customized the menu to have just seven tabs, each of which colored a different color.

    (this I have done with lists, like this:

    <ul id="menu" class="clearfix">
    <li<?php
    if( is_home() )
    {
    echo " id="current1"";
    }?>>< a href = "http://www.sciencefriction.ro/" > Home < / a >

    etc

    while “current1” was defined in style.ssh, like this:

    #current1{color: #000;
    background: #cd66ff;
    border:1px solid #e0e0e0;
    height: 22px;
    }

    Now all that is gone, sadly, and, moreover, while on my Safari the page looks at least ok, meaning that the menu is all in one line, on Firefox things are a bit nastier, because my menu is now split on two rows.

    So, if you can, I would like to find out from you if there is a solution to restore the original look of my blog, and if so, how to do this.

    Thank you beforehand for your time,

    Nic

    Mod

    Kenneth John Odle

    #26142

    You don’t need a custom header to change the menu item color. You can change all of those via CSS by targeting their unique ID.

    Read this post:

    http://blog.kjodle.net/2012/02/24/styling-wordpress-posts-pages-archives-and-home-pages-by-class/

    and then use Firebug to figure out the unique ID for each menu item. When you have it, you can style things like this:

    #menu-item-000 {color:#FFFFFF; background:#000000;}

    except you would replace the ‘000’ bit with each items unique ID number.

    because my menu is now split on two rows

    Your menu is on one row in FF11. Did you get this fixed?

    nic.sarbu

    #26143

    Thanks for the prompt answer!

    I will try this tonight, hope it will work just fine.

    I had firefox 10.0, I am updating this right now.

    Thanks again for all the help!

    nic.sarbu

    #26144

    Oops, I just installed FF11, and it’s still the same: the”about” tab on my menu is still on the second row. But this doesn’t happen in Safari, as I was saying. Do you have any idea what’s causing this?

    Thanks again

    Anonymous

    #26145

    Please put your code between backticks

    nic.sarbu

    #26146

    Hi again and thanks for all the help. One last question, though, as I couldn’t manage this by myself: is there any way (in the direction Kenneth described (and I used) to assign these different colors to the different items in the menu) that I could use for “current-menu-item”? (Something like a conditional “if” statement, such that when I am in a certain menu item, it would show the color I assigned to the “hover” mode?

    Thanks

    Mod

    Kenneth John Odle

    #26147

    I may be a bit lost here, but I think you want “current-menu-item”, don’t you?

    nic.sarbu

    #26148

    I have, in a way, fixed it, but not completely: what I would like is to preserve the hover color, when i’m on each one of the tabs, instead of #e3e3e3, as the current tab lights up now. Is there a way to do it? What I was thinking of was that if I could have an “if” involving “current-menu-item” and the specific item id’s that I learned from above, I somehow could have it my way.

Viewing 10 posts - 1 through 10 (of 15 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!