test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • david892 Friend
    #142438

    Hi there!

    Website URL: http://hockey.tremblaylecuyer.com
    Joomla Version: 1.5.5
    Template Modifictions: No

    I have 2 questions.

    First Question: How do I get rid of the thick border around the image? I specify 1 px as a border when I insert the image, but it does not seem to work. Any help would be great!

    Second Question: When inserting an image, is it possible to place the main title above the image? I tried but no luck so far.

    Thanks to anyone who will have a go at my questions!

    ps5t0ck5 Friend
    #310215

    Hi david892

    I’m sorry this might not be of much use but as regards the border around the frontpage new item this is as far as I can tell it stems from this in the template.css;

    .img-border {
    padding: 4px;
    background: #5E1F10;
    border: 1px solid #643112;
    margin-right: 10px;
    }

    However if you remove this from the template.css file it will have an effect on a variety of modules and this might not be what you want. I have looked at the modules for the frontpage news but haven’t been able to find any mention of it and wonder if it is a ‘hidden class’ atrribute on by default. Hidden classes can be specified in the module manager but you need to hear from someone who really knows this module inside out.

    I’m thinking the second question would probably need changes to the module css. Might be worth posting here – Template modifications requests

    http://www.joomlart.com/forums/forum/template-modification-submissions-new/

    I don’t know if you might find something here –

    http://www.joomlart.com/forums/forum/ja-news-component/

    david892 Friend
    #310316

    Regarding the thick image border I’m trying to remove, I have the same parameters you wrote in my template.css file. I find it weird because it clearly says that the border is 1px… Perhaps is it in another .css file?

    Any idea where I can find the place to modify this border?

    Finally for the title, I think I’ll live with it! 😉 Below the image is fine!

    ps5t0ck5 Friend
    #310397

    Hi david892

    OK before you do anything you should make copies of the files you want to change using your file manager or ftp program.

    To take out this border you need to go to Extensions/Template Manager/JA_Uvite and then click on edit css. You’ll then be able to access the ja.news.fp.css file and, if you want , to the ja.news.css. Find these lines –

    In the ja.news.fp.css:

    #jahl-newsitem img {
    background: #5E1F10;
    border: 1px solid #643112;
    padding: 4px;
    margin: 15px 0;
    }

    For no border at all take out the border and padding lines or if unsure you could change them to

    #jahl-newsitem img {
    background: #5E1F10;
    border: 0px solid #643112;
    padding: 0px;
    margin: 15px 0;
    }

    Its the padding that makes the difference because the image is set against a background.

    In the ja.news.css:

    .jazin-content img {
    background: #5E1F10;
    border: 1px solid #643112;
    margin: 10px 0;
    padding: 4px;
    }

    again change the padding and border.

    I’m also assuming you should probably remove the background since the image will now cover it completely.

    It will be in these files that you would change the title postion aswell.

    Let me know how you get on!

    david892 Friend
    #310431

    THANK YOU so much! 😎

    You were right on! I was able to get rid of the border using your modifications! You’re the man!:D

    ps5t0ck5 Friend
    #310436

    Great news!

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  ps5t0ck5 15 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum