Is there a CSS class that specifically deals with the gallery pages?

  • Unknown's avatar

    OK, so, when I create a gallery and someone click on one of the pictures, the meta section and the comment section overlap. Here’s one of my galleries and click on one of the pictures and you’ll see what I’m talkin’ about.

    http://sensico.wordpress.com/2008/11/05/world-rection-to-obamas-victory/

    Now is there any way to change these gallery pages without changing the normal blog entries, because those look normal?
    It’s not really that important, but I was just curious if there was a way to change that.

  • Unknown's avatar

    I almost never use the gallery setup but I did in one post and the page displayed the same as my other single post pages. My guess is that is because I have styled various classes in the body.single element. I don’t see that you have done that. Specifically, I’d try styling body.single div.entry-meta and body.single div.entry-meta a and see if that fixes the problem.

    (There is an attachment.php file that handles the attachment pages as best as I can determine. But, of course, we don’t have access to that file.)

    By the way – are you aware that the pseudo element you are using here

    div.comments:before {
    color:#FF00A6;
    font-size:18px;
    content:"POST A COMMENT, QUESTION, or RANT ABOUT HOW WRONG YOU THINK I AM";
    }

    doesn’t display in IE?

  • Unknown's avatar

    I almost never use the gallery setup but I did in one post and the page displayed the same as my other single post pages. My guess is that is because I have styled various classes in the body.single element. I don’t see that you have done that. Specifically, I’d try styling body.single div.entry-meta and body.single div.entry-meta a and see if that fixes the problem.

    (There is an attachment.php file that handles the attachment pages as best as I can determine. But, of course, we don’t have access to that file.)

    By the way – are you aware that the pseudo element you are using here

    div.comments:before {
    color:#FF00A6;
    font-size:18px;
    content:"POST A COMMENT, QUESTION, or RANT ABOUT HOW WRONG YOU THINK I AM";
    }

    doesn’t display in IE?

  • Unknown's avatar

    There are a couple of other problems with the layout in IE as well.

  • Unknown's avatar

    I hate IE. I notice the navigation and meta section on the home page isn’t normal either. I love the way the navigation bar looks in FireFox, I think I’m just going to let IE users deal with these visual issues when they come to my blog and then put a FireFox Icon on my blog to encourage people to switch over.
    The comment thing on the gallery pages doesn’t work with body.single div.entry-meta or body.single div.entry-meta. I guess I’ll just have to deal with it. Thanks.

  • Unknown's avatar

    Hmm – I don’t know why that posted twice. It wasn’t there twice last night :(

    Anyway – yes, IE is a problem. You may want to put something in your sidebar that says “This site best viewed in Firefox.”

    As for your problem – I still think it’s in the body.single stuff. So play with all of those.

  • The topic ‘Is there a CSS class that specifically deals with the gallery pages?’ is closed to new replies.