Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #444610

    I’m fighting with the icon that gets displayed when I select “Single Author – Small Preview Pic” in the “Blog Style” field. The icon that gets automatically displayed is “81×81”. I applied this code (from another ticket) to “functions.php”:

    $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>360);

    and then resized all the thumbnails with the “regenerate thumbnails” plugin.

    I also added this to my quick css in Enfold | Theme Options | General Styling:

    a.small-preview .small-preview .attachment-square .iconfont .blog-meta {
      width: 180;
      height: 360;
    }
    

    However, when I reload my page, the icon stays square. I have inspected the html elements and style classes with Firefox’s “inspect element” and thereby derived the list of classes above, but I still don’t get the graphic to resize, although of the containers have changed size.

    Please help with the correct css or other changes for this.

    • This topic was modified 9 years, 6 months ago by lifeboy.
    #444830

    Hey lifeboy!

    When inspecting the page it seems like the image size is working but the container is too small. You can use the following CSS but I think you will find that it’s way to big for the layout:

    .small-preview {
      width: 180px !important;
      height: 360px !important;
    }

    Cheers!
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.