- This topic has 8 replies, 23 voices, and was last updated 8 years, 8 months ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress Themes – Premium › Encounters › Changeimage size when posts viewed in a category
Hello,
I use Encounters primarily as a blog/website. I like to use the large image on the main blog home page as you will see here. http://www.thebeautyissue.com
I’d like to be able to revert to a thumbnail image when looking at posts in a specific category. Is there an easy way of doing this?
Just to be clear, image to remain large on main home page but a thumbnail when viewed through a specific category.
Thanks
Julie
Hi Julie,
To make the image large on front page and small on category pages you should put the following css into your child theme css files.
body.category .category-blog img {
width:60%;
}
Thanks.
Okay thanks. So… I guess I put that code somewhere in the editor.. but where exactly and also, is it okay just to have the one size of my featured image in my media file?
Sorry, not techy, just muddle through, so sorry if my questions are a little vague 🙂
You should use that CSS in the style.css of your child theme.
You can change the 60% to any other value as you want.
Thanks,
I did this. (screenshot attached) But no change to category image.
Hi Julie,
We couldn’t find your attachment so could you please attach it or provide the url link of the site that you are currently working. So, We could figure out what actually is not working for you.
Thanks.
Hello
Attached screenshot again. And my website url is http://www.thebeautyissue.com
Thanks
Julie
Hi julie,
I found that you haven’t inserted the code that we provided in child theme css files. So, Please insert it.
The Steps to insert the css are as follows:
Hope it Works.
Thanks
Yay.. it worked that time.. I put the code in a different spot.
All good now. Thank you so much 🙂
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.