Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #984432
    Alex
    Participant

    Hello,

    I tried to center-aligned image on the page (it’s strange there’s no option for that, by the way).

    First, I added styles in Cornerstone, but then thought rather to add them to my child theme’s style.css and then use a custom class:

    .center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    So I use it like this:

    http://take.ms/K3V8S

    But it doesn’t work.

    The page in question is http://playingwriter.com/ru/

    Thanks for helping in advance.


    Alex

    #984695
    Joao
    Moderator

    Hi Alex,

    Your image seems aligned on my end.

    Have you fixed the issue?

    Just so you acknowledge I believe the best way to center align your images in cornerstone is to select the column where your image is placed and on the style box of the column write this code:

    text-align: center;

    You can find the Style box at the bottom of the Column tab on Cornerstone.

    Please see image attached.

    Hope that helps,

    Joao

  • <script> jQuery(function($){ $("#no-reply-984432 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>