Community Forums › Forums › Design Tips and Tricks › CSS Questions
This topic contains 8 replies, has 2 voices, and was last updated by brian 4 months, 1 week ago.
-
AuthorPosts
-
January 16, 2013 at 3:16 pm #12418
Hi, I’m trying to get some custom CSS. I think the code is right, but it’s not being activated for some reason.
In any lightbox photos (here’s a link to a page with photos), I’m trying to move the text underneath the photo down 7px, and I want to change the color of the text to black.
I put this code into the custom CSS box in Genesis.
#cboxTitle {
color: #dddddd;
margin-bottom: -7px;
}This code works in FireBug, but does not work when I put it in the Custom CSS box.
January 16, 2013 at 3:27 pm #12432January 16, 2013 at 3:53 pm #12440Oh, sorry about that! I forgot to link. Here it is: http://bwhli.com/konig-meyer-ipad-stand-holder-review/
January 16, 2013 at 4:03 pm #12443I’m not seeing that rule in your style sheet. And you will probably need to increase the height of #cboxContent
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
January 16, 2013 at 4:08 pm #12444This is a screenshot of my Custom CSS box: https://dl.dropbox.com/u/7668642/Screen%20Shot%202013-01-16%20at%205.06.55%20PM.png
The code is in there, but it doesn’t seem to be doing anything. Again, putting the code into FireBug changes the layout to what I want. When I copy and paste into the CSS box, it doesn’t seem to work. Do you think I should change the code in the parent theme. Is it an issue with minifying CSS?
January 16, 2013 at 4:16 pm #12446You have .cboxTitle instead of #cboxTitle. And I would use #content #cboxTitle tom make it more specific than the plugin’s rule
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
January 16, 2013 at 4:25 pm #12452Just changed it to #content #cboxTitle, but it still doesn’t seem to be doing anything. Hm. I’m stumped. Weird thing is it works in FireBug.
January 16, 2013 at 4:59 pm #12459Actually it’s outside the content div so remove #content
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
January 16, 2013 at 5:01 pm #12460Still not working. The changed code isn’t even showing up in Firebug. Do you think it’s a bug?
-
AuthorPosts
You must be logged in to reply to this topic.