Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Hover on images in home page only

Old May 21, 2013, 01:57 PM
17 posts · Mar 2013

How can i add hover over images (opacity change on mouse over) to images on the home page?

I found the above code to a particular page:
body.page-id-95 .post img:hover {
background: #dddddd;

How do I change him to home page? By my examination this code does not work already.

Thank you.
Old May 21, 2013, 02:04 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
Just target the home page instead of body.page-id-95. You can find that info with Firebug or looking at the source code. There are several threads that cover how to do that.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old May 21, 2013, 02:27 PM
17 posts · Mar 2013
I tried to write:
home page .post img:hover {
background: #dddddd;
But this code not work.
Old May 21, 2013, 03:45 PM
juggledad's Avatar
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
just how did you come up with that CSS selector?
Old May 22, 2013, 03:09 AM
17 posts · Mar 2013
You are right! I wrote the code like this:
body.home .post img:hover {
background: #dddddd;

But still it does not work, why?
Old May 22, 2013, 03:48 AM
17 posts · Mar 2013
I found thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken Images on home page lordloh Montezuma Theme 1 Dec 6, 2012 04:25 AM
Home Page (Static Page) Slider Images overlapping widgets on smaller/vertical screens CatalystCooks Atahualpa 3 Wordpress theme 1 Apr 13, 2012 04:07 PM
Hover image shows only on "Home" page KylaKreates Page & Category Menu Bars 5 Oct 21, 2011 06:56 PM
Header Images - One fixed image for Home Page - Rotate all images on all other pages? ClearlyRobert Header configuration & styling 10 Oct 12, 2010 01:12 PM

All times are GMT -6. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.