Tagged: border, featured image, services
- This topic has 7 replies, 5 voices, and was last updated 9 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
January 28, 2014 at 9:03 am #6898JuanMember
Hi,
I’m working with Attitude Pro but can’t find the way to avoid that the featured images appearing in my buissenes page sidebar (Theme horse:Services) are shown always much smaller than the original size and have a 1px border. Please could you tell me how to avoid these changes?
Thanks a lot!
AnnetteJanuary 28, 2014 at 5:41 pm #6924Rabin ShresthaParticipantHi Juan,
Can you post link to your site?
Rabin
January 29, 2014 at 8:22 am #6937JuanMemberYes, for sure: http://grupocover.com/wordpress/
It would be fantastic if you could help us!!! I really don’t know how to proceed..January 30, 2014 at 6:59 am #6974Sanjip ShahParticipant@Juan If you see our recommended image size instruction here https://www.themehorse.com/theme-instruction/attitude-pro/#recommendedimagesize. You will see that the recommended image size for the icon is 80px * 80px. However, if you use this image size, the height and width of the service icon is set to 40px * 40px. We have done this so it will appear more clear of retina ready devices. So, for the image size you can upload the image size of 80px*80px or 40px*40px. Now, about the border effect you could use custom css to remove this. So, in the dashboard, go to Appearance->Theme Options->Design Options Tab->Custom CSS. Paste the following css and click on ‘Save all Changes’.
.service-item .service-icon img { border-radius: 0; }
January 30, 2014 at 8:20 am #6986JuanMemberSanjip, thanks a lot. Now it works!!!!
January 31, 2014 at 8:01 am #7019Sanjip ShahParticipant@Juan Okay. Great.
August 18, 2014 at 5:04 pm #13085KarliMemberI am having the same issue with a border appearing around the featured image. When I use the code you provided, there are still sections of border appearing on all 4 sides of the image, which you can see here: http://www.compassionateschoolsnetwork.org/
How can I completely remove the border for the service icon featured image? Thank you for your help!
August 19, 2014 at 6:53 am #13107Theme Horse Support TeamKeymasterHI Karli,
just add this css inside custom css.service-item .service-icon { border : none; }
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.