Welcome, Guest
Username Password: Remember me

Image alignment
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Image alignment

Image alignment 13 years, 8 months ago #3749

  • kvo
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
On my website I use image alignement so the text floats around the image. Check tinyurl.com/4rc4ffv to see what I mean. The image alignment is not taking over bij mobilejoomla. When I fix that by adding the following css code

.joomslide {
float:left;
}

The alignment is left and the text floats around the image, but check out what happens than also: tinyurl.com/4ee8pkn
When the text from one subject is to short, the next subject starts to early and you get a weird tree concept.

Is there a way to fix this?? Leaving the float code away is an option but is not realy nice..
Suggestions are welcome..

Pascal

Re: Image alignment 13 years, 8 months ago #3752

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Add css code:
span.article_separator {display:block;clear:both}

Re: Image alignment 13 years, 8 months ago #3753

  • kvo
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Ok, thanks. It is getting better, but still it is not 100%. Take a look at: tinyurl.com/4u6pdwu
There you see between the first and the last three items that the alignment is still not 100%. Also on the main page (go to Home), you see at the "Karperdeals" item, that the alignment is missing...

Pascal

Re: Image alignment 13 years, 8 months ago #3755

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Try
.contentdescription li {clear:both}

As to Karperdeals, you put img before paragraph.
Last Edit: 13 years, 8 months ago by dryabov.

Re: Image alignment 13 years, 8 months ago #3760

  • kvo
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Ok, tried that, but does not seem to make any different..

Update: I changed some things in the website layout and it seems to work better now on the mobile site...
Last Edit: 13 years, 8 months ago by kvo.

Re: Image alignment 13 years, 8 months ago #3784

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
.contentpane li {clear:both}

(instead of above .contentdescription).
  • Page:
  • 1
Time to create page: 0.11 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.