I'm trying to target a specific text block on mobile so that I can adjust the text styling (from centre align desktop, to left align mobile), and other elements such as padding. Is there a way to target and style a block through CSS that doesn't affect all the other blocks?
Question
olipowell 1
Hi,
I'm trying to target a specific text block on mobile so that I can adjust the text styling (from centre align desktop, to left align mobile), and other elements such as padding. Is there a way to target and style a block through CSS that doesn't affect all the other blocks?
Here's the site: https://www.rejectsupply.com/ Test123
The block I'm trying to style is called "H2 Text Block" on the site itself, (ID block-ce591823b8f1025afa01)
Thanks!
Edited by olipowellInitial Revision
Link to post
Top Posters For This Question
3
1
Popular Days
Sep 28
4
Top Posters For This Question
olipowell 3 posts
tuanphan 1 post
Popular Days
Sep 28 2019
4 posts
Popular Posts
tuanphan
@olipowell add to Home > Design > Custom CSS @media screen and (max-width:640px) { div#block-ce591823b8f1025afa01 * { text-align: left !important; } div#block-ce591823b8f1025afa01 { padd
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment