WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Text showing up when hover over circle image (14 posts)

  1. lilyandtoby
    Member
    Posted 9 months ago #

    Hi,

    I was wondering if there is a way to have my heading (text) of a page appear in the circle when I hover over it instead of it going from grey to color?
    I am currently using Child Theme.

    Thanks in advance

  2. Andrew
    Forum Moderator
    Posted 9 months ago #

    Could you link the site in question?

  3. lilyandtoby
    Member
    Posted 9 months ago #

  4. Andrew
    Forum Moderator
    Posted 9 months ago #

    Do you have an example of a website that does what you want already, for illustrative purposes?

  5. lilyandtoby
    Member
    Posted 9 months ago #

    I can not seem to find any that currently use it. Instead of the horrible text that comes up in the small yellow rectangle when you hover over it, I would want the actual text which I have already placed to come up. I wish I could find a website that has done it, would make life a bit easier

  6. Andrew
    Forum Moderator
    Posted 9 months ago #

    in the small yellow rectangle when you hover over it

    Could you screenshot and highlight the area that you're referring to: http://snag.gy/ ?

  7. lilyandtoby
    Member
    Posted 9 months ago #

    I'm hoping this worked http://snag.gy/Dhbho.jpg

  8. Andrew
    Forum Moderator
    Posted 9 months ago #

    Sorry if I'm wrong, but do you want to have the text disappear at first and only appear when you hover over it?

  9. lilyandtoby
    Member
    Posted 9 months ago #

    That is right

  10. Andrew
    Forum Moderator
    Posted 9 months ago #

    Try adding this CSS right at the bottom of your Child Theme's style.css file:

    .blog .hentry span.hometitle {
     left: -9999em;
    }
    
    .blog .hentry a:hover span.hometitle,
    .blog .hentry a:focus span.hometitle {
     left: 0;
    }
  11. lilyandtoby
    Member
    Posted 9 months ago #

    Just tried it and it didn't make any changes

  12. Andrew
    Forum Moderator
    Posted 9 months ago #

    Can you try clearing your browser's cache to see whether you're looking at an old webpage?

  13. lilyandtoby
    Member
    Posted 9 months ago #

    Brilliant!! Works perfectly! That you SO much for your help! Greatly appreciated

  14. vladamarchenko
    Member
    Posted 9 months ago #

    Hi! Excuse me how did you make it not black and white pictures in circles and with a text on it when you hover over? Thank you in advance

Reply

You must log in to post.

About this Theme

About this Topic