Keyword

Image to float on left with text on right - How to

  • Loges2798
  • Loges2798's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago #103094 by Loges2798
The site is.

testing.landersmusic.com/products2/guitars/acoustic-guitars/maton-guitars-for-sale/item/22-maton-ecw80-acoustic-guitar/

All I want to do is move the image to the left and get the description text to run alongside it on the right.

I can get the image to float left but how can I get the text to move up next to it?

Thanks in advance.

Marcus.

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

More
11 years 7 months ago #103095 by Jake Knight
In this file, or a template css file...
testing.landersmusic.com/components/com_k2/css/k2.css

On line 188:

div.itemImageBlock {
padding: 8px;
margin: 0 0 16px 0;
float: left;
}

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

More
11 years 7 months ago #103096 by william white
Replied by william white on topic Re: Image to float on left with text on right - How to
@jake, i had done it a slightly different way, but - Your way is best!

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

More
11 years 7 months ago #103097 by Jake Knight
Honestly, William, I think this should be a param in the cat / item config. I override it on every site I've ever built.

I think the Joomla content component has this option now... Float Image: Y/N, Float: Left/Right

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

  • Loges2798
  • Loges2798's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago #103098 by Loges2798
Thanks guys, that is spot on. I have just posted another question about formatting, would appreciate it if you can check it out.

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

More
5 years 9 months ago #168510 by Oliver Smoot
I see this topic is old, so please forgive me.
I get the CSS change, but K2 puts a Clear div after the image, thus preventing the text from being on the right. How do I stop the Clear from being generated for the Category Images only? Php is not my forte.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
5 years 9 months ago #168521 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Image to float on left with text on right - How to
Hello,

Can you send me a link to a category please?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum