Customization template mobile (css)

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jan 19, 2016 6:32 pm
Reply with quote
Report this post
Hi,
I want to decrease <h1>Адамекс Барлетта Adamex Barletta</h1> and <span class="PricesalesPrice">6,930,000 p.</span> in mobile version (see attachment).

Help me please.

url: http://www.rebenki.by/shop/adamex-barletta-detail
User avatar
Fresh Boarder

teitbite
Sat Jan 23, 2016 10:53 am
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
@media only screen and (max-width:820px) {
.productdetails-view h1 {
    font-size: 20px;
}
span.PricesalesPrice {
    font-size: 17px;
}
}
User avatar
Moderator

GK User
Mon Jan 25, 2016 1:54 pm
Reply with quote
Report this post
It works, thx!

P.S. As far as I know I could add the code to small.tablet.css (/templates/gk_storebox/css) without @media and it works too:

/* VM */
.productdetails-view h1 {
font-size: 14px;
}
span.PricesalesPrice {
font-size: 16px;
}
User avatar
Fresh Boarder

teitbite
Mon Feb 01, 2016 1:01 pm
Reply with quote
Report this post
Hi

Yes You can use it in small.tablet.css, but during template update this fill will be overwritten and You will loose this customisation. It's safer to use "media" and place code in override.css or even Custom CSS field in template configuration.
User avatar
Moderator

GK User
Mon Feb 01, 2016 1:03 pm
Reply with quote
Report this post
Thank you!
User avatar
Fresh Boarder

teitbite
Thu Feb 04, 2016 1:00 pm
Reply with quote
Report this post
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron