Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #420080

    Hello,

    I want to middle alignment of images like following snapshot:

    The example of llive link is: edudose.com/abc/

    Thank You
    Bijendra

    • This topic was modified 9 years, 8 months ago by BijendraMohan.
    #420764

    Hi BijendraMohan!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .page-id-8246 .entry-content p img {
      position: relative;
      top: 20px;
    }

    that would be only applied on this page. If you would like a global solution, please firstly turn on custom CSS class field on ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then give your text block elements that you will need to center images a custom CSS class and use the code as following

    .avia_textblock.your-custom-class p img { position: relative; top: 20px; }

    Regards,
    Yigit

    #420971

    Thank You so much Yigit!

    I have used the above code without page id
    .entry-content p img {
    position: relative;
    top: 20px;
    }

    and it is working fine for other pages too. Will it create problem ??

    #420981

    Sorry for one more time disturbance

    How to write superscript and subscript as the common html code for this ( <sup>superscript</sup> and <sub>subscript</sub>) is not working with this theme ?

    #421291

    Hi!

    Please add following code to Quick CSS

    sub {
      vertical-align: sub;
      font-size: smaller;
    }
    sup {
      vertical-align: super;
      font-size: smaller;
    }

    Cheers!
    Yigit

    #422264

    Thank You so much Yigit.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Middle alignment of image’ is closed to new replies.