Resizing links on product page

Resizing links on product page

radaApeta
Excursionist
49 0 17

Hello,

i need a small adjustment on my product page, under every product there are 3 links ( Doprava a platba + Vrácení a reklamace + Časté dotazy ). I need those three links to be in a single row. Thank you for your help ! 🙂

 

https://81e325-28.myshopify.com/

0007

 

unnamed (10).jpg

valenta14
Replies 7 (7)

Moeed
Shopify Partner
5346 1444 1729

Hey @radaApeta 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
ul.icon-with-text.icon-with-text--vertical.list-unstyled.icon-with-text--text-only li.icon-with-text__item span {
    font-size: 10px !imporatnt;
}
}
</style>

RESULT:

Moeed_0-1726682329959.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


radaApeta
Excursionist
49 0 17

Hello, thank you for your idea, i dont know where is the issue but the code isnt working. 

radaApeta_0-1726683268082.png

 

valenta14
radaApeta
Excursionist
49 0 17

@Moeed  can you help wtith this please ?

valenta14

Made4uo-Ribe
Shopify Partner
8202 1972 2410

Hi @radaApeta 

When the screen are smaller it will automatically go down. To be responsive on smaller screen. This is the result if you maintain it single row. 

Made4uoRibe_0-1726686986988.png

If it this is okay, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

 

li.icon-with-text__item span.h4.inline-richtext {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

 

 

And save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
radaApeta
Excursionist
49 0 17

Hello,

thank you for your solution, but i really wants it to be in one line. 

valenta14
Made4uo-Ribe
Shopify Partner
8202 1972 2410

okay, as you like. Replace on this one then. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

li.icon-with-text__item span.h4.inline-richtext {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
}
li.icon-with-text__item span.h4.inline-richtext a {
    word-break: keep-all !important;
    width: 100% !important;
    white-space:nowrap;
    padding-right: 10px;
}

 

And Save. 

Result:

Made4uoRibe_0-1726755865223.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
radaApeta
Excursionist
49 0 17

hey, 

i am sorry but this code doesnt work for me.

valenta14