Home › Forums › All Other Themes › Online Coach – Gallery block on page has an indentation
- This topic has 5 replies, 2 voices, and was last updated 4 years, 1 month ago by Sonl Sinha.
-
AuthorPosts
-
August 24, 2020 at 6:48 am #159748
Hi! I need your help again. A page on my website is not displaying something as I thought it should. The link in question is this:
https://psihologalinatache.ro/despre-mine/
There is a text and under it I used a gallery block to post some pictures of myself. However, that block appears to have an indentation on the left side. I would very much like that indentation to be gone so that the pictures are aligned with the text. I thought I could fix it, but google results led me to these links:
https://wordpress.org/support/topic/gallery-block-some-images-now-indent-with-space-on-left/
https://wordpress.org/support/topic/gallery-block-images-not-centering-or-aligning-gap-on-left-side/
The people experiencing the same problem were directed to their CSS code or to contact their theme provider. I have no idea what to do with the CSS code (I don’t even know where to find it). Is this something you could help me with?
August 24, 2020 at 11:26 am #159831Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
.thn_post_wrap ul { padding-left:0 !important;}
Regards,
ChrisAugust 27, 2020 at 2:28 pm #160090This is my third try to reply to this post…
I tried the CSS code and it affects ALL indentations, including the bullet point list. It’s not a very good solution, because it messes up the rest of the page. Here’s an example of what I mean:
https://i.imgur.com/HFoQ6yv.png
Is there any way to change the code to affect ONLY the gallery block?
August 28, 2020 at 12:41 pm #160168Hi,
Kindly use this CSS
.single_post_content .blocks-gallery-grid { padding-left: 0 !important; }
Regards,
ChrisAugust 28, 2020 at 1:07 pm #160173That fixed it! Thank you!!!
August 28, 2020 at 1:30 pm #160178????
-
AuthorPosts
- You must be logged in to reply to this topic.