VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Position of Item Images
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Position of Item Images

Position of Item Images 17 Mar 2015 11:42 #6402

Thanks for the very nice template!
I have two question in regards to images:

1. When I upload an image into the image tab of an item it is always shown above the content. Is there a way to change it? (e.g. have first some text, then the item image)

2. When I insert an image into the content tab of an item, there is always a space between the border of the image and the border of the whole item module. Is there a way to change it for the image (not for the text though)?

Thanks in advance for your help.

  • Posts:10
  • Sonne
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Position of Item Images 18 Mar 2015 03:01 #6405

1. When I upload an image into the image tab of an item it is always shown above the content. Is there a way to change it? (e.g. have first some text, then the item image)

You can edit the templates/jf_vihrea/html/com_k2/default/category_item.php file.
2. When I insert an image into the content tab of an item, there is always a space between the border of the image and the border of the whole item module. Is there a way to change it for the image (not for the text though)?

You can use css, example:
 
div.catItemIntroText img {
margin-left: -40px;
margin-right: -40px;
}
 


Thank you for using our template!

joomfreak

  • Posts:2788
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Position of Item Images 20 Mar 2015 11:35 #6417

Hi joomfreak,
thanks for the fast reply.

1. I didn't manage to do but I think it's not the right solution for me, because I want some item images on top, some at the bottom, etc. sorry for the misundertanding.

2. I inserted the code and it worked partly. I now don't have margins to the border (when I use right or left float) but the image is still not showing along the whole item at the front page (now matter how large I make it). I tried to change the padding of div.catitemIntroText but then the whole text is also at the border. I tried to insert the padding into the div.catItemIntroText img - order you gave me before but with no results. Do you have a solution for this?

Many thanks for your help again.

  • Posts:10
  • Sonne
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Position of Item Images 25 Mar 2015 04:41 #6429

Can you please send me your website url?

joomfreak

  • Posts:2788
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Position of Item Images 25 Mar 2015 11:49 #6430

Hi,
Unfortunately I am still working offline. Would some screenshots helb you?

Thanks and best regards

  • Posts:10
  • Sonne
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Position of Item Images 26 Mar 2015 02:37 #6432

Yes, you can send me some screenshots.

joomfreak

  • Posts:2788
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 0.98 seconds
Sunday 25 August 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.