-
AuthorPosts
-
September 4, 2014 at 11:36 pm #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: autobut the output still same. here the screenshot:
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 5, 2014 at 4:04 am #548390Hi
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.
September 5, 2014 at 11:16 am #548454here the url: http://asyraf.org/tutorial/cakephp/26-cakephp-calculate-days
and optimized css disable 🙂
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 8, 2014 at 8:32 am #548678You 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;
}
1 user says Thank You to Saguaros for this useful post
September 8, 2014 at 10:22 pm #548769Great! Thanks a lot Saguaros 🙂
AuthorPostsViewing 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
Centering intro image in full article
Viewing 5 posts - 1 through 5 (of 5 total)