Tagged: x
-
AuthorPosts
-
October 18, 2016 at 5:31 am #1220613
isearchlocalParticipantHi, i would like to add an image as an icon in the site, so it can be used for buttons etc.
site: flightcompensationdirect.com
October 18, 2016 at 6:05 am #1220656
Paul RModeratorHi,
To achieve that, you need to add a unique class to your button element.
http://screencast.com/t/7bpH97NvG
Then target it to add your image.
eg. Add this in Custom > Edit Global CSS in the customizer
.x-btn.my-button .x-icon:before { content:url(image.jpg) !important; }Change image.jpg with the url of your image.
Hope that helps
October 18, 2016 at 6:22 am #1220666
isearchlocalParticipantThats great, i will try that:
one other question. any idea how i can move the menu over to the right some more on mobile view.
using superfly.October 18, 2016 at 6:28 am #1220676
ThaiModeratorHi There,
Please add the following CSS:
.sfm-pos-right .sfm-label-none .sfm-navicon-button { right: 15px !important; } .sfm-navicon-button:after { right: auto; }Hope it helps 🙂
October 18, 2016 at 6:33 am #1220680
isearchlocalParticipantthats fantastic! the second fix worked great, however the image in the button didnt work.
any other ideas?thank you
October 18, 2016 at 6:49 am #1220689
Paul RModeratorHi,
Upon checking, I didn’t see the class and the css code getting added in your site.
Kindly add the code back again then leave it there so we can check why it is not working.
Thanks
October 18, 2016 at 6:51 am #1220691
isearchlocalParticipantdone
October 18, 2016 at 7:10 am #1220711
JoaoModeratorGreat to hear it,
Joao
October 18, 2016 at 7:43 am #1220744
isearchlocalParticipant?
you asked me to put the code back on, i have… its still not working though
October 18, 2016 at 8:44 am #1220826
JoaoModeratorHI There,
Sorry for the confusion
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
Joao
October 18, 2016 at 8:59 am #1220852
isearchlocalParticipantThis reply has been marked as private.October 18, 2016 at 11:28 am #1221016
RupokMemberHi there,
I have checked and you didn’t add the class my-button rather added it as ID. You need to place this within Class field. Also you need to upload a resized image since it might came up as very big.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1220613 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
