WordPress.org

Ready to get started?Download WordPress

Forums

RSS mouseover annoying (10 posts)

  1. saladgoat
    Member
    Posted 3 years ago #

    Anytime I mouseover the RSS link, it pops up a big list of feeders which covers the content of my page. That's annoying.

    How do I turn off the hover so that I can accidentally mouseover that area without obliterating what I am trying to read? Ideally change the "mouseover" to "click".

    Thanks!

    (Note to anyone who deliberately codes like this: it's annoying! I am fully capable of clicking to get that list, I don't need it covering what I am trying to read!)

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

  3. saladgoat
    Member
    Posted 3 years ago #

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Try adding:

    #feed_readers {display:none; !important}

    to the bottom of your style.css file.

  5. saladgoat
    Member
    Posted 3 years ago #

    That's halfway, but not quite what I wanted.
    Yes, it prevents the annoying popup on mouseover, but I do want that little popup if someone clicks the RSS link or image. Is that possible?
    Your hack will definitely work if all else fails, though I had to correct the sequence (for others who may not notice the semi-colon in the wrong place):
    #feed_readers {display:none!important;}

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    The only other option would to be edit the relevant template file (header.php?).

  7. saladgoat
    Member
    Posted 3 years ago #

    Well I guess that's what I am asking - what do I edit and what do I change it to?
    There is no RSS reference in the header, but I found the following in the sidebar template:

    <?php
    	$options = get_option('inove_options');
    
    	if($options['feed'] && $options['feed_url']) {
    		if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') {
    			$feed = $options['feed_url'];
    		} else {
    			$feed = 'http://' . $options['feed_url'];
    		}
    	} else {
    		$feed = get_bloginfo('rss2_url');
    	}
    ?>

    I'm pretty sure this is the RSS coding. Unfortunately, I don't know what any of it means or does. I don't want to just start hacking away and end up breaking something.
    Any help?

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    That's close but not the code you you need to change. All the code above appears to be doing is checking that you want to display a feed url and deciding what feed url should be used. My guess is that the relevant code is a little further down (although it may be just calling a function that's defined in functions.php).

  9. saladgoat
    Member
    Posted 3 years ago #

    Oh, I see. I saw the rss reference and stopped looking. Right below that was this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I feel like it must have something to do with this line
    <?php if($options['feed_readers']) : ?>
    but the only options I found were in the functions file, and they didn't seem relevant:

    $options['feed_readers'] = true;
    $options['feed'] = false;
    $options['feed_url'] = '';
    $options['feed_email'] = false;
    $options['feed_url_email'] = '';

    Any ideas?

  10. MrPuffin
    Member
    Posted 3 years ago #

    There is actually just a box you can un-tick on the Theme Options page. "Show the feed reader list when mouse over on feed button." Just make sure that one is unticked.

Topic Closed

This topic has been closed to new replies.

About this Topic