Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #80359
    Alvin
    Participant

    How do I edit the margins of images embedded in page content without affecting the caption margins? I tried this .entry-content img { margin:13px} but it seems to override the caption margins as well.

    #80368
    Pratik
    Keymaster

    @Alvin: Hi, Can you please post your site URL so I can check it?

    #80371
    Sakin
    Keymaster

    @aj2: Yes, please post in your site URL so that we can check in detail.
    For now, you can replace your css with the following css. You can add css in “Appearance => Theme Options => Custom CSS” box:
    img.aligncenter, img.alignleft, img.alignright { margin: 13px; }

    #80534
    Alvin
    Participant

    Hi Pratik & Sakin. Thank you for your quick responses. I was able to improvise from the codes Sakin sent to take care of the issue. I basically just wanted left aligned images to have a smaller right margin and used this code. img.alignleft { margin-right: 13px; } thanks again.

    Aj

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Image margins in page content’ is closed to new replies.