-
AuthorPosts
-
shikar Friend
shikar
- Join date:
- May 2007
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
September 18, 2010 at 8:30 pm #154433Hi,
The image at the start of an article is not in line with the text. It is to high. I use class “img-border left”. How can I get the top-border of the image on the same level as the text?You can see it here: http://www.decodeurbeslag.nl/nieuw/entra-deurbeslag
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 20, 2010 at 3:40 am #356019You open the file: nieuw/templates/ja_droid/css/template.css and find the following code:
.article-content img {
margin-top: 15px;
margin-bottom: 15px;
}replace:
.article-content img {
margin-top: 15px!important;
margin-bottom: 15px;
}1 user says Thank You to Saguaros for this useful post
shikar Friendshikar
- Join date:
- May 2007
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
September 20, 2010 at 8:23 am #356050This works great. Thanks tienhc.
September 26, 2010 at 9:24 am #356682<em>@tienhc 194653 wrote:</em><blockquote>You open the file: nieuw/templates/ja_droid/css/template.css and find the following code:
.article-content img {
margin-top: 15px;
margin-bottom: 15px;
}replace:
.article-content img {
margin-top: 15px!important;
margin-bottom: 15px;
}</blockquote>
I have same problem. I changed the HTML code as you specified but nothing changed. Maybe it does not apply to my module? It is the User4.
Also, my font in User1 module changed to Times Roman, same as the User4 module, while the module next to it remained in correct font. Where do I correct that? Here is picture and my website is: http://www.relaisdeluynes.com
shikar Friendshikar
- Join date:
- May 2007
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
September 26, 2010 at 1:04 pm #356701It looks like you have to set the image attribute to “left”. This will align the text to the top of the image.
September 26, 2010 at 3:13 pm #356703It worked…thank you very much!
Question: how can I get more spacing between the picture and the text?
The text is right next to the picture and it doesn’t look very good.Also, when I pasted my text from Word, it changed to Times; so I changed it back to the original font through the HTML code but is there another way that is less tedious?
Thanks again,
Heleneshikar Friendshikar
- Join date:
- May 2007
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
September 26, 2010 at 9:33 pm #356727Hi Helene,
For more space between the picture and the text use “Horizontal space” and “Vertical space” in picture appearance. Set the number of pixels you want as space between the picture and the text.
Your second problem: Don’t copy from word to Joomla. Copy first to wordpad and from wordpad to Joomla. Otherwise you also copy the styling. This is the cause of the change in font. If you copy from wordpad it is clean code without font information.
Good luck,
Shikar1 user says Thank You to shikar for this useful post
September 27, 2010 at 12:35 pm #356814Great! Thank you!!
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by relaisluynes 14 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum