Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • asyraf1985 Friend
    #201092

    Hi,

    How to center the intro image when i open the full article? i’ve tried to change the template.css at line 1401 to :

    article img,
    .article-intro img,
    article .img-fulltext-left,
    .article-intro .img-fulltext-left,
    article .img-intro-left,
    .article-intro .img-intro-left,
    article .img_caption.left,
    .article-intro .img_caption.left,
    article .pull-left.item-image,
    .article-intro .pull-left.item-image {
    margin-right: auto;
    margin-left: auto

    but the output still same. here the screenshot:

    Thanks


    1. p3
    Saguaros Moderator
    #548390

    Hi

    Could you post URL of page you want to center image here? I will take a look.

    Also turn off Optimize CSS option in template manager.

    asyraf1985 Friend
    #548454

    here the url: http://asyraf.org/tutorial/cakephp/26-cakephp-calculate-days

    and optimized css disable 🙂

    Saguaros Moderator
    #548678

    You can try going to the CSS file: /templates/purity_iii/css/custom.css (create this file if it doesn’t exist) and add this css rule:


    .item-page .pull-left.item-image.article-image.article-image-full {
    padding-left: 145px;
    }

    .item-page .article-content {
    float: left;
    }

    asyraf1985 Friend
    #548769

    Great! Thanks a lot Saguaros 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  asyraf1985 9 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum