TOPIC: Text alignment with images

Text alignment with images 10 years 11 months ago #1041

  • rimc
  • rimc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 6
  • Karma: 0
Hello!

I'm having trouble diagramming texts with images. Apparently simple insertion of a left aligned image with text overlays is causing. See the attached sample "img_01." In the admin panel this problem does not appear (see "img_02"), is seen only when the frontend.

Can you help me?


This image is hidden for guests. Please log in or register to see it.


This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: Text alignment with images 10 years 11 months ago #1049

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 908
  • Thank you received: 568
  • Karma: 25
Hi,

You can add this css into css/customs.css
If joomla 2.5:
.blog .item img.left,
.blog .items-leading img.left,
.item-page img.left {
    float: left;
    margin: 0 15px 15px 0;
}

.blog .item img.right,
.blog .items-leading img.right,
.item-page img.right{
    float: right;
    margin: 0 0 15px 15px;
}
If Joomla 1.5:
.joomla .blog .item img.left,
.joomla .article img.left {
    float: left;
    margin: 0 15px 15px 0;
}

.joomla .blog .item img.right,
.joomla .article img.right{
    float: right;
    margin: 0 0 15px 15px;
}

Hope this help :-)
Thanks for using our products!
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
The following user(s) said Thank You: rimc, makcimka
Time to create page: 0.103 seconds