Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • neilpovey Friend
    #185369

    Just wondering how I can add an icon like the ones used for the Gallery and Contact Us

    pavit Moderator
    #484794

    <em>@neilpovey 362110 wrote:</em><blockquote>Just wondering how I can add an icon like the ones used for the Gallery and Contact Us</blockquote>

    Hi

    In this file templatesja_merocsstemplate.css around line 2254 you have

    .icon-contact {
    background-image: url('../images/ico/mail-big.png');
    }
    .icon-photo {
    background-image: url('../images/ico/photo-big.png');
    }

    You can add your icon

    .icon-yourname {
    background-image: url('../images/ico/yourimage.png');
    }

    in the custom-html module add this html

    <p><a class="btn-icon btn-big icon-youricon" href="#" title="some text"><span>some text</span></a></p>

    remember to add the module suffix “mod-hilite1 no-padding”

    Look HERE for any other reference

    Regards

    gringo211985 Friend
    #491803

    Just to let others know that this process has changed since the template update.

    Now you will also need to change the file “templates.ja_mero.less.typo.less”

    Then you need to make these folders in t3-assests>dev>images>ico and place your images in there.

    Hope this helps anyone trying to change the icons on JA Mero 🙂

    ankris Friend
    #493622

    I made a big Facebook icon and a Shopping Cart icon. They’re included in this post.

    (The images are transparent, so place them on a colored background to see them. ;))

    Happy sharing !


    1. shoppingcart-big
    2. shoppingcart-big-color
    3. facebook-big
    4. facebook-big-color
    neilpovey Friend
    #497306

    I still can’t seem to get this to work can someone please have a look at the following page and let me know what is wrong:

    http://beta.festive.org.uk/index.php/students/resources

    Thanks.

    gringo211985 Friend
    #497361

    Did you make the changes to the file “templates.ja_mero.less.typo.less”?

    Then you need to make these folders in t3-assests>dev>images>ico and place your images in there.

    neilpovey Friend
    #497367

    where do I create these folders? I can’t seem to find t3-assets anywhere

    Saguaros Moderator
    #497433

    Hi guys,
    @gringo211985 & @neilpovey: it’s not due to the template update, you can see that less file when you turn on Development Mode in template manager > General tab.

    If you’re good at LESS, you can edit LESS file, otherwise, it’s recommended to make change in CSS file (as pavit’s suggestion)

    For the ico location, as demo site, they are hold in: /templates/ja_mero/images/ico folder

    Hope this makes senses.

    neilpovey Friend
    #500664

    it still doesn’t seem to be working for me – can someone please take a look? http://beta.festive.org.uk/index.php/students/resources

    I uploaded the images to the correct folder and edited the CSS but still nothing. I’d really appreciate some help, thanks.

    Saguaros Moderator
    #500670

    Hi neilpovey,

    Could you make screenshot of how you want to achieve – which image in which block ?

    neilpovey Friend
    #501214

    here’s how I would like it to look


    1. download-block
    Saguaros Moderator
    #501244

    Hi neilpovey,

    As I can see in your site: http://beta.festive.org.uk/index.php/students/resources

    The 3rd block named Outreach, it has this CSS class:


    .icon-photo {
    background-image: url("/templates/ja_mero/images/ico/photo-big.png");
    }

    You can make the same with remained ones by adding css rule to /templates/ja_your_template_name/css/custom.css

    Running a CU


    .icon-cu {
    background-image: url("/your_image_path_here");
    }

    Bible Studies


    .icon-biblestudy {
    background-image: url("/your_image_path_here");
    }

    Seasonal


    .icon-seasonal {
    background-image: url("/your_image_path_here");
    }

    Hope it helps.

    neilpovey Friend
    #501287

    Brilliant – that’s all working now – thanks so much for your help!

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

This topic contains 13 replies, has 5 voices, and was last updated by  neilpovey 11 years, 3 months ago.

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