Image with text resize image - Dawn theme

Solved

Image with text resize image - Dawn theme

Dekanten
Trailblazer
297 1 111

Hi

 

I want to resize the image smaller, its too big for the page and i hope someone have a code so we can fix this for me. Thanks in advance folks. 🙂

 

For the information i have two of these sections, but i will start with this on the image below. Hope we can figure something out. 🙂

 

Mystoreurl:

www.dekanten.no

 

See attached image:

Skjermbilde 2024-08-09 kl. 16.24.09.png

Accepted Solutions (5)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Dekanten 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
#shopify-section-template--21636163502354__image_banner_B7RaMJ .image-with-text__media img {
        transform: scale(0.7) !important;
   }
</style>

niraj_patel_0-1723214351023.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

Hi @Dekanten,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.css.
Step 3. Add this code at the end of file 

 

#shopify-section-template--21636163502354__image_with_text_FR7kPm .image-with-text__media-item--top.grid__item img {
    transform: scale(0.6)!important;
}

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

If you want this

BSSCommerceB2B_0-1723217302146.png

here the code

#shopify-section-template--21636163502354__7d276f64-0f8b-4d45-9869-7de5bb75cdf6 .image-with-text__media {
  background: white!important;
}
#shopify-section-template--21636163502354__7d276f64-0f8b-4d45-9869-7de5bb75cdf6 .image-with-text__media img {
  transform: scale(0.7)!important
}

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

@Dekanten,

I think to work well both desktop and mobile you should change all the code i've sent to you like this

@media only screen and (min-width: 768px) {
   .image-with-text__media img{
		transform: scale(0.7) !important;
		background: white !important;
	}
}
@media only screen and (max-width: 767px) {
    .image-with-text__media img{
        object-fit: contain!important;
    }
}


Mobile

BSSCommerceB2B_0-1723220030622.png

Desktop

BSSCommerceB2B_1-1723220259103.png

 

If it helps you, please like and mark it as the solution.

Best Regards 😍



If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

Oh, it easy bro,
Please change the code i've sent

BSSCommerceB2B_1-1723221088203.png

to 

@media only screen and (min-width: 768px) {
	.image-with-text__media img {
		transform: scale(0.7) !important;
		background: white !important;
	}
}
@media only screen and (max-width: 767px) {
	.image-with-text__media img {
		object-fit: contain !important;
	}
	.header__heading {
		transform: scale(1.4) !important;
	}
}

Result

BSSCommerceB2B_2-1723221162655.png

 

 

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 16 (16)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Dekanten 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
#shopify-section-template--21636163502354__image_banner_B7RaMJ .image-with-text__media img {
        transform: scale(0.7) !important;
   }
</style>

niraj_patel_0-1723214351023.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Dekanten
Trailblazer
297 1 111

Thank u so much brother, this works flawless and very happy with the result, good looking site because of both of you too. 🙂

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

Hi @Dekanten,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.css.
Step 3. Add this code at the end of file 

 

#shopify-section-template--21636163502354__image_with_text_FR7kPm .image-with-text__media-item--top.grid__item img {
    transform: scale(0.6)!important;
}

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

Thank u so much brother, this works flawless and very happy with the result, good looking site because of both of you too. 🙂

Dekanten
Trailblazer
297 1 111

Hi, i think i will try to fix this section aswell, do we have something we can try out here? 🙂 Its looks awful right now. 🙂

 

Skjermbilde 2024-08-09 kl. 17.00.02.png

 

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

If you want this

BSSCommerceB2B_0-1723217302146.png

here the code

#shopify-section-template--21636163502354__7d276f64-0f8b-4d45-9869-7de5bb75cdf6 .image-with-text__media {
  background: white!important;
}
#shopify-section-template--21636163502354__7d276f64-0f8b-4d45-9869-7de5bb75cdf6 .image-with-text__media img {
  transform: scale(0.7)!important
}

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

Hi again this works very well on my browser on my computer, when we see it on the mobile the image is cutoff.

 

See attached image: Thanks in advance. 🙂

 

Skjermbilde 2024-08-09 kl. 17.44.13.png

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

@Dekanten,

I think to work well both desktop and mobile you should change all the code i've sent to you like this

@media only screen and (min-width: 768px) {
   .image-with-text__media img{
		transform: scale(0.7) !important;
		background: white !important;
	}
}
@media only screen and (max-width: 767px) {
    .image-with-text__media img{
        object-fit: contain!important;
    }
}


Mobile

BSSCommerceB2B_0-1723220030622.png

Desktop

BSSCommerceB2B_1-1723220259103.png

 

If it helps you, please like and mark it as the solution.

Best Regards 😍



If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

You are a real miracle man and this works so well im so glad to see these results, working like a charm. Can we hope for something more? NO. This is the help i need for these sections. 🙂

 

One more thing. Can we make my logo bigger on mobile devices?

 

See attached image: (Its looks so small and thin)

Skjermbilde 2024-08-09 kl. 18.25.20.png

BSSCommerce-B2B
Shopify Partner
1196 309 367

This is an accepted solution.

Oh, it easy bro,
Please change the code i've sent

BSSCommerceB2B_1-1723221088203.png

to 

@media only screen and (min-width: 768px) {
	.image-with-text__media img {
		transform: scale(0.7) !important;
		background: white !important;
	}
}
@media only screen and (max-width: 767px) {
	.image-with-text__media img {
		object-fit: contain !important;
	}
	.header__heading {
		transform: scale(1.4) !important;
	}
}

Result

BSSCommerceB2B_2-1723221162655.png

 

 

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

Hi again

 

The last thing for today, i want make these sections better looking, its looks kinda weird dont you think? 🙂

 

Do you have an brilliant idea for me? What will fit this sections, its looking to open for me and there is white field around it. Maybe some lines or something? 🙂

 

See attached image:

Skjermbilde 2024-08-09 kl. 18.47.25.png

 

BSSCommerce-B2B
Shopify Partner
1196 309 367

Do you want to add a right border like this?

BSSCommerceB2B_1-1723224519224.png

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
BSSCommerce-B2B
Shopify Partner
1196 309 367

If so, find the code i mark here and remove it 

BSSCommerceB2B_0-1723224676671.png

And add this code

@media only screen and (min-width: 990px) {
	.image-with-text__media-item > .image-with-text__media {
		background: linear-gradient(to bottom, transparent 15%, #ccc 15%, #ccc 15%, transparent 15%) !important;
		background-size: 1px 100% !important;
		background-position: right center !important;
		background-repeat: no-repeat !important;
	}
}

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

I moved some sections instead to make it better so im happy with everything, thank u very much indeed for everthing you have done for me. Today have i done some good upgrades and thanks to you. 🙂

 

Just wondering i use a wishlist app, this have no options to have it on the product collections, Is it possible to add heart icon on them with a css or something? 🙂

 

See attached image: (Want a heart icon on the top right side of the image, possible?)

Skjermbilde 2024-08-09 kl. 20.21.02.png

BSSCommerce-B2B
Shopify Partner
1196 309 367

@DekantenWhich app are you using? I believe it should have this feature available. If it doesn’t, I recommend contacting the app's support team to customize it for you, ensuring it works seamlessly with your app. I can add the icon using CSS, but it won't integrate with your app’s functionality.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Dekanten
Trailblazer
297 1 111

Swishlist is the app im using at the moment, and thats true there is no product code for this. Quite strange aswell but i liked the design and everything about it. I could ask the author of the app of this and hear whats the deal here though. It should be integrated but its not, i will take this case further with the man behind it now. 🙂