WordPress.org

Forums

WP Catalogue
[resolved] WP Catalogue - product image border on hover (6 posts)

  1. carlabaldwin
    Member
    Posted 11 months ago #

    Hello - thank you for providing this plugin.

    I would like to remove the border around the image that appears on hover. I have added the following CSS to my child theme but it does not seem to have any effect.

    .wpc-img img:hover {
      border:none;
    }
    .wpc-img:hover {
    	border: none !important;
    }

    URL: http://s154814355.onlinehome.us/products/
    Any suggestions are greatly appreciated!

    https://wordpress.org/plugins/wp-catalogue/

  2. Maeve Lander
    Member
    Plugin Author

    Posted 11 months ago #

    This is correct:

    .wpc-img:hover {
    border: none !important;
    }

    It might be struggling because it's in a child theme... Try putting it in the parent theme temporarily or hardcoding in the plugin stylesheet just temporarily to confirm if this is the reason it's not taking affect... let me know

  3. carlabaldwin
    Member
    Posted 11 months ago #

    I changed it directly in the catalogue-styles.css file and still no luck. Could it be found in another file?

    If I select "Clear" under Theme Color in Settings it reverts back to black. Is the border being set by this file?

  4. Maeve Lander
    Member
    Plugin Author

    Posted 10 months ago #

    No so the problem is that something is overriding those styles from both your own theme css and the plugin css. It could be another plugin, so try deactivating everything else and see if that solves the issue. Sorry there's not much more help I can provide on this one - you just need to work through the site logically and find out where the rogue css is coming from

  5. Galaxy-Design.co.uk
    Member
    Posted 9 months ago #

    If you run any caching plugins or via .htaccess, try disabling caching and delete your browser cache then make changes to CSS. Might be the problem...

  6. sqfaru
    Member
    Posted 7 months ago #

    There's some css at the bottom of index.php file (plugin catalog) that define img border behave on hover.

Reply

You must log in to post.

About this Plugin

  • WP Catalogue
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic