Online Coach – Gallery block on page has an indentation

Home Forums All Other Themes Online Coach – Gallery block on page has an indentation

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #159748
    Alina TacheAlina Tache
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: June 23, 2020

    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?

    #159831
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30639
    • Total: 30639
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .thn_post_wrap ul { padding-left:0 !important;}

    Regards,
    Chris

    #160090
    Alina TacheAlina Tache
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: June 23, 2020

    This 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?

    #160168
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30639
    • Total: 30639
    Member since: August 16, 2013

    Hi,

    Kindly use this CSS

    .single_post_content .blocks-gallery-grid {
        padding-left: 0 !important;
    }

    Regards,
    Chris

    #160173
    Alina TacheAlina Tache
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: June 23, 2020

    That fixed it! Thank you!!!

    #160178
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30639
    • Total: 30639
    Member since: August 16, 2013

    ????

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.