- Posts: 8
COMMUNITY FORUM
Image to float on left with text on right - How to
- Loges2798
- Topic Author
- Offline
- New Member
Less
More
12 years 2 months ago #103094
by Loges2798
Image to float on left with text on right - How to was created 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.
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.
- Jake Knight
- Offline
- New Member
Less
More
- Posts: 15
12 years 2 months ago #103095
by Jake Knight
Replied by Jake Knight on topic Re: Image to float on left with text on right - How to
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;
}
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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 2 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.
- Jake Knight
- Offline
- New Member
Less
More
- Posts: 15
12 years 2 months ago #103097
by Jake Knight
Replied by Jake Knight on topic Re: Image to float on left with text on right - How to
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
12 years 2 months ago #103098
by Loges2798
Replied by Loges2798 on topic Re: Image to float on left with text on right - How to
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.
- Oliver Smoot
- Offline
- New Member
Less
More
- Posts: 4
6 years 4 months ago #168510
by Oliver Smoot
Replied by Oliver Smoot on topic Re: Image to float on left with text on right - How to
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.
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 4 months ago #168521
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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?
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.