Former Member
inherit
guest@proboards.com
253222
0
May 11, 2024 1:18:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 20, 2018 16:46:50 GMT -8
So, my theme doesn't look good on phones. So I need a way to only change a line of code for mobile. Like on phones a div will have the style of margin-left:-10px; and on a computer a div will have the style of margin-left:-20px; Please tell me this is possible. And thank you in advance.
|
|
Kami
Forum Cat
Posts: 40,058
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,058
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Sept 20, 2018 20:30:19 GMT -8
Look into media queries! You can do exactly that by adding a few @media instructions (:
|
|
Former Member
inherit
guest@proboards.com
253222
0
May 11, 2024 1:18:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2018 6:15:19 GMT -8
Look into media queries! You can do exactly that by adding a few @ media instructions (: Thank you!
|
|
inherit
259178
0
Oct 12, 2020 11:11:29 GMT -8
Samuel
Wake up and smell the snow.
52
August 2019
spacehunter42
|
Post by Samuel on Sept 19, 2019 9:12:03 GMT -8
You can also make a theme designed to fit with the phone.
|
|