Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19252

    I there,

    I would like to reduce (or delete if not possible) image size in categories archives. This page for example :

    http://lacroiseedeschemins.ma/portfolio_entries/maradji/

    I have read some little help into the forum but I don’t really understand, sorry. As i tell you, if it’s not possible or to complicated I prefer to not have any image, just the title and exerpt.

    Thank you again for your kind support, and best wishes to your team.

    #102928

    Open up wp-contentthemesangularincludesformat-standard.php and replace following code:

    $slider = new avia_slideshow(get_the_ID());

    with:

    $slider = new avia_slideshow(get_the_ID());

    if(is_archive()){
    $slider->setImageSize('portfolio');
    }

    You can also use any other thumbnail size and you’re not limited to the “portfolio” size. All available thumbnail sizes are defined in functions.php – i.e “widget”, “post-format-image”, etc.

    #102929

    Thank you very much Dude !

    I have tried your tip but it doesn’t work for me. The format changes but the image keep filling all the container in spite of its low resolution (I have used “widget” size), look at here :

    http://lacroiseedeschemins.ma/portfolio_entries/collectif/

    I have tried to regenerate thumbnails too.

    #102930

    Hi rita01,

    This wouldn’t work with any other image size but since you are using the small icon size we can manually set the image container and then position it a bit. I’m not sure if this is what you were going for but Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top.archive .slideshow.fade_slider {
    width: 36px !important;
    height: 36px !important;
    position: absolute;
    top: -36px;
    }

    Regards,

    Devin

    #102931

    You really rule here !

    That’s perfect now. I think I can play a little bit with the values right ?

    Thank you Devin and Dude

    #102932

    Hi,

    We encourage you to experiment on it. You can change the values and add more if you want, you will find more interesting variations.

    Regards,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Image size in Archives’ is closed to new replies.