-
AuthorPosts
-
kayz Friend
kayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 16, 2011 at 6:17 am #158826Hi guys i have been on the JA Nickel template for sometime.
I have been using hspace=”10″ and vspace=”10″ with my images which left a nice border between the image and text. I have hundreds of articles with images and sometimes i use the default ‘caption’ option for my images.
However after upgrading my template to JA Teline IV all my text are touching my images right upto the neck. I checked the code and the hspace, vspace is still there. If i go into editor mode i can see the article fine with the hspace/vspace border applied but this does not show on the main website anymore after applying this template.
Can anybody tell me how i can reinstate the hspace, vspace html to work with this template please?
Ive seen other solutions with css, however i do not want to apply a css image fix for all my images.. as i will be using some images on the default ‘caption’ option which is provided.. so i really dont want the css to affect all my images except the ones i specify.
Any help would be great.
The JA Nickel template allowed me to use hspace, vspace i really would like it back for my ja teline vi.
Thank you all.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 16, 2011 at 10:55 am #372058You can change this::
.thumbnail * {style.css (line 22)
float: none !important;
margin: 0 !important;
}to
.thumbnail * {style.css (line 22)
float: none !important;
margin: 0;
}Css file reference:: plugins/content/plg_jathumbnail/style.css
If you wish to add margin manually for images and also, use content thumbnail plugin.
kayz Friendkayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 16, 2011 at 2:10 pm #372082<em>@aman204 215292 wrote:</em><blockquote>You can change this::
.thumbnail * {style.css (line 22)
float: none !important;
margin: 0 !important;
}to
.thumbnail * {style.css (line 22)
float: none !important;
margin: 0;
}Css file reference:: plugins/content/plg_jathumbnail/style.css
If you wish to add margin manually for images and also, use content thumbnail plugin.</blockquote>
Hello and thank you.
I am using the template not the jumpstart.
Yes i want to add margin manually for images and also, use content thumbnail plugin by choice.
Will this automatically fix the problem i am having and i can continue using hspace, vspace?
I also dont see a /plg_jathumbnail/style.css from following: plugins/content/plg_jathumbnail/style.css
Hear from you soon.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 17, 2011 at 5:21 pm #372265If you arent using plugin titled Thumbnail for Joomla content i.e. the plugin told above, hspace and vspace would work
But, If you are using specific plugin, Please make change above to have specific properties in effect
kayz Friendkayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 17, 2011 at 5:45 pm #372271<em>@aman204 215573 wrote:</em><blockquote>If you arent using plugin titled Thumbnail for Joomla content i.e. the plugin told above, hspace and vspace would work
But, If you are using specific plugin, Please make change above to have specific properties in effect</blockquote>
I have an idea. I think i will use css from now on.
I was able to successfully replace all the hspace/vspace with a css class by executing SQL string via MySQL, i then created a css class to give me the desired effect,
Thank you very much for your help.
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by kayz 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum