davecfm 10 Report post Posted July 30, 2011 Howdy, Looking to have hover effect (white maybe or just a lighter version of image) for my boxes on my home page. My boxes have 64 x 64 px image that I'd like to isolate using firebug, add the correct css, and copy and paste into platforms custom css. http://www.davec.fm/ Any help is much appreciated. Dave Share this post Link to post Share on other sites
catrina 103 Report post Posted July 30, 2011 This is achievable by changing the opacity of the image on hover, which is created by this code: opacity:0.4;filter:alpha(opacity=40) This is the CSS you need to add to Custom CSS to create the lighten-on-hover effect: div.fboxgraphic:hover {opacity:0.4;filter:alpha(opacity=40);} Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davecfm 10 Report post Posted July 30, 2011 Wow that works great! I'm learning more and more thanks to you. My biggest problem has been finding the "selector"(?) for individual elements, eg: div.fboxgraphic:hover. Is it a div. or a # or just a .element, etc.. Now that I've added that to custom css, I go back to firebug and try to find the changes. Sometimes I see it... this time I don't. Thanks again! Now on to padding! Dave Share this post Link to post Share on other sites
catrina 103 Report post Posted July 30, 2011 Since the image is placed inside a div layer, it would be a div. The image doesn't have a class selector I could assign the opacity to, so I needed to use the div layer itself. Does that make sense? How do you want the padding fixed? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davecfm 10 Report post Posted July 30, 2011 It's slowly making more sense. I just need to learn the terminology/ definitions. Especially while reading/watching tutorials and/or cruising the forum. I'd like to lessen the padding between my header image and the dividing line* where the primary nav bar would go. I'd also like to make the dividing line a double line. Your help is great! *again with the terminology : ) Share this post Link to post Share on other sites
catrina 103 Report post Posted July 31, 2011 Lessen the padding between header image and dividing line and making the line a double line: margin-top: -10px; border-width: 3px; border-top-style: double; border-bottom: 0px; Note: That dividing line is actually for the top border of the post content. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davecfm 10 Report post Posted July 31, 2011 Hi Catrina, Stumbling upon my weakness: ??#??div.????? {margin-top: -10px; border-width: 3px; border-top-style: double; border-bottom: 0px;} Am I on the right track? Thanks, Dave Share this post Link to post Share on other sites
catrina 103 Report post Posted July 31, 2011 I checked your website and the divider line that was there is gone. Did you add custom CSS to make it disappear? If so, can it be brought back again? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davecfm 10 Report post Posted July 31, 2011 Catrina, I removed the content within the pageline template settings and began adding the double lines to the bottom of my header image instead. Not much luck doing design in gimp. I'll add the content (divider) back to to the template. Thanks, Dave Share this post Link to post Share on other sites
catrina 103 Report post Posted July 31, 2011 Ah, I was going to say that you can leave the content removed since it's not even being used, but it's already back. Do you mind taking it out again? Sorry. Here's code for adding the border below the header/branding: #branding div.branding_wrap {margin-top: -10px; border-width: 3px; border-bottom-style: double;} div.post {display: none;} Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davecfm 10 Report post Posted July 31, 2011 Catrina, Thank you! That looks much better now. Dave Share this post Link to post Share on other sites
bikithalee 0 Report post Posted June 25, 2014 A simple hover example... .imgBox { width: 441px; height: 248px; background: url(http://www.corelangs.com/css/box/img/water.jpg) no-repeat; } .imgBox:hover { -moz-box-shadow: 0 0 10px #ccc; -webkit-box-shadow: 0 0 10px #ccc; } Full Source .... http://www.corelangs.com/css/box/hover.html Bikitha Share this post Link to post Share on other sites