Re: Adding a line of code for phone devices

Adding a line of code for phone devices

radaApeta
Explorer
64 0 23

Hello, i got this code, but it only works for pc, can someone adjust it so it would work on phone aswell ? It is for popup table colors. Thank you

https://www.pickupstore.cz/

.product-popup-modal__content-info th {
background: orange;
border: 1px solid orange;
}
.product-popup-modal__content-info td {
border: 1px solid orange;
}
.product-popup-modal__content-info table {
border-collapse: collapse;

valenta14
Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9663 2299 2864

Hi @radaApeta 

What is this pop-up look like? 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
radaApeta
Explorer
64 0 23

@Made4uo-Ribe Hello, i am sorry. Its under product page, under link ¨velikostní tabulka¨ its size chart. 

radaApeta_0-1728812498748.png

 

valenta14
Made4uo-Ribe
Shopify Partner
9663 2299 2864

Thanks for the info, try this one. 

1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"

2. Find the theme that you want to edit and click on "Actions" and then "Edit code".

3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media (max-width: 767px) {
    .product-popup-modal__content-info th {
        background: orange;
        border: 1px solid orange;
    }
    .product-popup-modal__content-info td {
        border: 1px solid orange;
    }
    .product-popup-modal__content-info table {
        border-collapse: collapse;
}

</style>

 

4. And save. 

5. Result:

Made4uoRibe_0-1728847965391.png

 

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

PaulNewton
Shopify Partner
7536 666 1595

@radaApeta don't just link to a homepage, link and list to a specific url WHERE the thing of issue is.

Don't make others already giving you the courtesy or their time waste more time digging around.

https://community.shopify.com/c/blog/how-to-get-support-from-the-community/ba-p/1399408 

 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


radaApeta
Explorer
64 0 23

Hello, i am sorry. Its under product page, under link ¨velikostní tabulka¨ its size chart. 
https://www.pickupstore.cz/products/air-jordan-1-retro-low-og-psg-paris-saint-germain

radaApeta_1-1728812518626.png

 

valenta14