Keyword

image alignment

  • Janet Mercer
  • Janet Mercer's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107134 by Janet Mercer
image alignment was created by Janet Mercer
I have tried every css and div-clear trick I can think of to get my images to align left with the text around it. Please tell me what to change! I'll be forever grateful!

Item: www.spcai.org/index.php/programs/shelter-support/item/788-alabama-spay-neuter-birmingham-al.html

Category: www.spcai.org/index.php/programs/shelter-support.html

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107135 by william white
Replied by william white on topic Re: image alignment
You can use a float left in the k2.css to move the images, but unless you do an override and customize the image position insied the div that contains the text you cant get the text to wrap up around the image.
Firebug will show you which css line and file to change.
If you need help, see my profile and email me

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107136 by william white
Replied by william white on topic Re: image alignment
for the category view:
Copy root/components/com_k2/css/k2.css to
root/templates/YourTemplate/css directory
Edit the k2 css in the templates directory
line 420 - chang 8 to 0 and change 16 to 0
line 422 - remove border tag and add
float:left;

Go to the k2 override directory
edit category_item.php
goto line 121
and change <div class="clr">
to <!-- <div class="clr"></div> -->

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum