-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 27, 2016 at 3:05 pm #954529Hi
Maybe its due to the template styles , You can post the site URL here i will take a look on it .July 27, 2016 at 4:22 pm #954575URL – localhost, I will try look to template styles.
July 27, 2016 at 6:09 pm #954593I tried fresh install – Joomla+Purity, the same problem.
Database Version 5.5.5-10.1.13-MariaDB
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.6.23Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 28, 2016 at 12:43 am #954612This reply has been marked as private.August 2, 2016 at 9:09 pm #956179Sorry for long break – I put the site from localhost to public server . Could you look http://dev.upese.lt/index.php/a/akmena . Problem still exists
One more. I think is the same problem – image do not react to style="text-align: center; "
Thank You in advancePankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 3, 2016 at 1:05 am #956201Hi
Apply margin: 0 auto; for the image to make it in center .
Like this > http://prntscr.com/c0wjyo
For the make text in above line apply float:left on image .August 3, 2016 at 9:52 am #956449Thank you, but float:left not helps: 1. In mobile screen image still above text. 2. In desktop: here is not only one image in line; more images groups at left. 3. Also, images do not react to vertical-align:bottom or middle http://dev.upese.lt/index.php/a/akmena or http://dev.upese.lt/
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 3, 2016 at 10:22 am #956470Hi
Use
float: left!important;it will work in mobile too , and the img already in the middle of its space check it again .
August 3, 2016 at 11:21 am #956492Still left problem – if here is more than one image in line they groups at left side (http://dev.upese.lt/index.php/a/akmena) but some of them needs be in middle of the text – as images must look please see to http://www.upese.lt/index.php/a/akmena Still images do not react to vertical-align: – http://dev.upese.lt/index.php
August 3, 2016 at 4:25 pm #956626I found decision – display: inline. Can I change (where and how) css or less that it works for all site?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 4, 2016 at 12:34 am #956702Hi
You can apply custom style on any class using custom.css file .
Go to /css/custom.css file and add your style code .example :
.class {display:inline;}
-
AuthorPosts
This topic contains 12 replies, has 2 voices, and was last updated by enjoda 7 years, 8 months ago.
The topic ‘Problem with images in content’ is closed to new replies.