template stylesheet

  • Post count: 67
    July 13, 2016 at 9:23 pm #21203

    hi guys

    you have to add the following styles to your template stylesheet as they are needed to align images to the left, right or center in any article either via visual composer or the classic way when using the wordpress build in image functionality as it assignes these classes to the image. when I was trying to align an image it just did not work until I checked whether that class actually existed. and it did not. these classes should be standard in any theme.

    .aligncenter {
    float: none !important;
    margin-left: auto;
    margin-right: auto;

    .alignleft {
    padding-right: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    float: left;

    .alignright {
    padding-left: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    float: right;

    Post count: 2606
    July 14, 2016 at 2:02 am #21210

    hi huwcole, thank you, we going to add it on next update.

    THank you

You must be logged in to reply to this topic.