-
AuthorPosts
-
phylox Friend
phylox
- Join date:
- December 2009
- Posts:
- 57
- Downloads:
- 5
- Uploads:
- 9
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
February 17, 2014 at 7:17 pm #194879On the Mendozite template, I want to add a spot for a 5th icon instead of the 4 that are currently there under the slider module. I know I probably have to resize the existing positions, but would like to know how I can go about in doing this.
Thank you.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 18, 2014 at 8:42 am #523163This is user1, user2, user3, user4 positions on JA Mendozite Template, if you wish add the 5th position, you can follow these steps:
+ Create a new position in JA Mendozite Template
Open the templates/ja_mendozite/etc/layouts/default.xml file
Change
<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4</block>
To
<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4, user18</block>
+ Go to admin site -> Module Manager -> Create new module and assign it with user18 position
Then add css rule for user18 position into the templates/ja_mendozite/css/template.css file:
div.ja-moduletable.has-icon.icon18 {
background-image: url(../images/icons/icon-module4.png);
}
See the configuration:
phylox Friendphylox
- Join date:
- December 2009
- Posts:
- 57
- Downloads:
- 5
- Uploads:
- 9
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
February 21, 2014 at 10:29 pm #523834Thanks. Also, just in case anyone else is reading this and need to perform this task, here’s extra details on top of what was suggested that got it fully working for me.
When creating the new position, the file to edit in addition to default.xml is templateDetails.xml, I simply added the position named user18 <position>user18</position> after user17.
The module class suffixed required a space in order for it to work. I believe this may be a small bug. So ” has-icon icon18″ (without quotes) worked. Note space right before has.
Mods: Please mark as answered! Thanks again!
1 user says Thank You to phylox for this useful post
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by phylox 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Adding additional icons
Viewing 3 posts - 1 through 3 (of 3 total)