test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • shikar Friend
    #154433

    Hi,
    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


    1. Firefox
    Saguaros Moderator
    #356019

    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;
    }

    shikar Friend
    #356050

    This works great. Thanks tienhc.

    relaisluynes Friend
    #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


    1. module-format-problem
    shikar Friend
    #356701

    It looks like you have to set the image attribute to “left”. This will align the text to the top of the image.

    relaisluynes Friend
    #356703

    It 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,
    Helene

    shikar Friend
    #356727

    Hi 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,
    Shikar

    relaisluynes Friend
    #356814

    Great! Thank you!!

Viewing 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