Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Hover on images in home page only


  #1  
Old May 21, 2013, 01:57 PM
liana-kornik
 
17 posts · Mar 2013
Hello,

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.
  #2  
Old May 21, 2013, 02:04 PM
lmilesw's Avatar
lmilesw
 
10,176 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.
  #3  
Old May 21, 2013, 02:27 PM
liana-kornik
 
17 posts · Mar 2013
I tried to write:
home page .post img:hover {
background: #dddddd;
}
But this code not work.
  #4  
Old May 21, 2013, 03:45 PM
juggledad's Avatar
juggledad
 
23,765 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?
  #5  
Old May 22, 2013, 03:09 AM
liana-kornik
 
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?
  #6  
Old May 22, 2013, 03:48 AM
liana-kornik
 
17 posts · Mar 2013
I found thanks.

Bookmarks



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 12:42 AM.


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