WordPress.org

Support

Support » Plugins and Hacks » Category Grid View Gallery » Workaround for clipped images in Chrome/Chromium

Workaround for clipped images in Chrome/Chromium

Viewing 2 replies - 1 through 2 (of 2 total)
  • borkenkaefer

    @borkenkaefer

    Oh, I just saw that this is only working, wenn the parameter “showtitle” is set to “never”.

    Does anyone know a better workaround?

    borkenkaefer

    @borkenkaefer

    Two more “solutions” …

    1. You could somehow put the image for displaying the category as background-image css property in includes/CatGridView.php, but I’m not a programmer and so I don’t know how to do this. In this way, the round corners would work in webkit-based browsers (i.e. chrome) and you could define custom borders as usual.

    2. You could replace the border css properties with “box-shadow”. This way you can’t have custom borders (like double border), but it works. First, you have to remove all border properties, then replace following lines under light theme.

    /* Light Theme */
    div.cgview.light ul li { box-shadow: 0 0 0 3px #fff;}
    div.cgview.light ul li:hover {box-shadow: 0 0 0 3px #300; }
    div.cgview.light ul li div.cgback{background-color:#fff; }
    div.cgview.light ul li div.cgtitle p a{color:#000;}
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Workaround for clipped images in Chrome/Chromium’ is closed to new replies.
Skip to toolbar