Howto section image alignment

#72847
  • Resolved Janty Ghosh
    Rank Math free

    Hi,

    I use the Howto section by Rank Math in my article. But all images in the section are by default on the left alignment. What CSS I have to add to align the images in the center.

    Please suggest to me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you share (in the Sensitive Data section) a link where we can see the affected post to give you some suggestion?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Please use this CSS:

    .rank-math-step-content img {
    text-align:center;
    }
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    It is not working. The image alignment becomes same to left alignment. I want to set images to center alignment.

    I am giving you another URL in the Sensitive Data to solve the problem easily.

    Alberto
    Rank Math business

    Hello,

    You can use this CSS code:

    div.rank-math-step-content {
    text-align:center;
    }
    div.rank-math-step-content p {
    text-align:left;
    }

    Looking forward to help you.

    The last CSS provided by Alberto worked for me. Thanks for your help and time.

    Alberto
    Rank Math business

    Hello Janty,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this ticket.