-
AuthorPosts
-
September 1, 2016 at 10:36 am #964861
Greetings, Please advice how to create a similar Link CSS Style : " btn btn-calendar" used on Header Links, as Calendar appear on menu for other icons as menu items.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 1, 2016 at 3:34 pm #964921Hi
This is work only for the menu item . If you want to apply it on any other part on site , you have to make custom work in style . To check style use inspect element from browser tool : http://prntscr.com/ccykga
If you are adding this into a custom html module then this can be simple , you can copy the html code and paste it .September 2, 2016 at 8:40 am #965067Hi there,
I want to apply similar icons ( same style as calendar, but with diffrent icons and links ) close to the existing calendar link, in the same header_links position . I need to know how to replicate calendar Link CSS Style : " btn btn-calendar" in the same module position but for diffrent menu links.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 3, 2016 at 4:40 am #965261Hi
its not button , its a menu module that is published on a module position and use the special style . This style is only designed for this position and module .
You can duplicate the module on same position if you want two module with same effect on this position .This menu use Link css style : http://prntscr.com/cdk991
Menu module : http://prntscr.com/cdk9gz
September 3, 2016 at 5:48 am #965280I need to put another menu items next to the axisting calendar menu item with the similar style but with a diffrent icon. Please explain how to create a new Link CSS Style : " btn btn-group" for exemple the new similar but with a diffrent icon menu link to jomsocial new group page.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 5, 2016 at 2:48 am #965598Hi
add below code in custom.css file.head-right-item.head-links .nav > li > a.btn-group { overflow: hidden; text-indent: -999em; width: 40px; } .head-right-item.head-links .nav > li > a.btn-group:after { content: "\f073"; position: absolute; left: 4px; text-indent: 0; }You have to change the content code in above code to change the icon code .
For example : "f0c0"
is used for group > http://prntscr.com/ce8dsfSeptember 8, 2016 at 6:25 am #966634hi there,
where can I find custom.css
and please advice how to find the diffrent content code in above code to change the icon code for diffrent icons.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 8, 2016 at 7:17 am #966645Go to /css/custom.css file in your template folder .
If file is not present kindly create it , For the icon content code , you can check it using inspect element from Font awesome site like in my example > http://prnt.sc/ce8dsfSeptember 8, 2016 at 7:46 am #966657Please advice how can I make new menu icons to be more close to eachother … seams that the header-links with permit just 3 icons menu to show. How can I reduce the space gap between icons to alow more then 3 icon menu items.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 8, 2016 at 2:33 pm #966783Hi
Post your site URL and screenshot how u want to change the icon space .September 9, 2016 at 9:21 am #966969how to make also the hover effect and mobile view grei square around icon, on icon menu as it is with the default calendar.
Please advice
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 9, 2016 at 9:36 am #966975Hi
Please check my reply here . You have ao defined new style for your new custom buttons to apply the style . As i said in above post you can use the inspect element tool from browser to check style and then apply it on your new button classes using custom.css .
Also i request you to open a new thread for new questions , It also help our community . -
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by
Pankaj Sharma 8 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum