Blog 'Feature Image...
 
Notifications
Clear all

Blog 'Feature Image' is MASSIVE! How do I resize it for Desktop/Mobile?

4 Posts
3 Users
0 Reactions
3,934 Views
(@eleven10leather)
Active Member
Joined: 4 years ago
Posts: 16
Topic starter  

I know there is another thread for this image covering a title, but I couldn't find anything about resizing the entire image down. It's SO big on desktop, reasonable on Mobile; but I'd like to have some control over its size.  Can you help?  Thanks!


   
Quote
PJAX
 PJAX
(@pjforum)
Eminent Member
Joined: 4 years ago
Posts: 33
 

Hello @eleven10leather,

PJ here from Plaktheme Support.

Please allow me to assist this concern of yours.

Currently, we do not have an option to resize it as of the moment, but please follow steps below on how to get this done via code:

  • From your Shopify admin click Online Store -> Themes -> Actions -> Edit Code
  • Open the 2 files theme.scss.liquid and homepage.scss.liquid
  • Then paste this code at the very bottom
    .article__list-image-wrapper { text-align: center; width: 75% !important; }

You can play with the value if you want it more smaller then please reduce the 75% otherwise increase it.

Note: If this doesn't solve your concern, please provide an example url link or which section are you referring please.

Should you have any other concerns, please do not hesitate to ask.

Best Regards,

PJ

PJ | Plak theme support

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@eleven10leather)
Active Member
Joined: 4 years ago
Posts: 16
Topic starter  

@pjforum Hi PJ, I added the code and refreshed, re-added the image but it's still massive.  I even decreased to 50%, and it's still the same size.  Help!


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

Hi @eleven10leather

Katrine here from Plak support,

Let me continue with you this thread 🙂

In order to resize the featured image photo, please follow these steps :

 

  • From your Shopify dashboard, click Online store > Actions > Edit code
  • Open the file theme.scss.liquid
  • Paste this code at the very bottom
.featured-article-img {
width : 60% !important;
height : 60% !important;
margin-left : auto !important;
margin-right : auto !important;
display: block !important;
}
  • Click Save

 

You can change the value width & height as per your need, the other codes margin-left; margin-right; display are a must to ensure the photo will remain centered within its container.

Let me know if it worked for you.

Kind regards,

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
Share:

Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.

Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple