-
AuthorPosts
-
neilpovey Friend
neilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 27, 2013 at 6:41 pm #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 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
May 3, 2013 at 11:14 am #491803Just 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 🙂
1 user says Thank You to gringo211985 for this useful post
May 22, 2013 at 10:01 am #493622I 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 !
- neilpovey Friend
neilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
June 28, 2013 at 3:59 pm #497306I 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 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
June 29, 2013 at 10:37 am #497361Did 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 Friendneilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
June 29, 2013 at 12:28 pm #497367where do I create these folders? I can’t seem to find t3-assets anywhere
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 1, 2013 at 4:01 am #497433Hi 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.
1 user says Thank You to Saguaros for this useful post
neilpovey Friendneilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
July 30, 2013 at 10:11 pm #500664it 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 31, 2013 at 1:30 am #500670Hi neilpovey,
Could you make screenshot of how you want to achieve – which image in which block ?
neilpovey Friendneilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
August 4, 2013 at 10:01 pm #501214Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 5, 2013 at 4:30 am #501244Hi 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.
1 user says Thank You to Saguaros for this useful post
neilpovey Friendneilpovey
- Join date:
- March 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
August 5, 2013 at 10:23 am #501287Brilliant – that’s all working now – thanks so much for your help!
AuthorPostsViewing 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
Jump to forum
How to add a New icons like the ones for Gallery, Contact Us etc
Viewing 13 posts - 1 through 13 (of 13 total)