-
AuthorPosts
-
June 23, 2015 at 7:28 pm #311087
Hello,
I used some CSS found in another thread to change the renew stack main menu arrows from single to double. The solution works well on desktop but is producing numbers instead of arrows/icons in mobile. Please can you assist.
This is the code I’ve used:
.mobile .menu-item-has-children .x-icon-angle-double-down:before { content: "f107"; } .x-navbar .desktop .x-nav li>a>span:after { content: "\f107"; }
This is what it’s producing in mobile menu: http://www.screencast.com/t/vvR8zdcHzRy
June 24, 2015 at 1:15 am #311282Hi there,
Please try this :
.mobile .menu-item-has-children .x-icon-angle-double-down:before { content: "\f107"; }
Thanks.
July 1, 2015 at 8:39 pm #318855Thanks for the effort, however:
1. it returns the arrows to default standard ‘double arrow’ and I’m after the single one that the previous ccs override (above) produces
2. the mobile issue is unresolved and is still showing the \F107 text instead of the icon.July 2, 2015 at 3:22 am #319090Hello There,
Please try this one in your customizer,
@media (max-width: 979px){ .menu-item-has-children .x-icon-angle-double-down:before { content: "\\f107"; } }
We would recommend that use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please add this css code in your child theme’s style.css, Appearance > Editor
@media (max-width: 979px){ .menu-item-has-children .x-icon-angle-double-down:before { content: "\f107"; } }
The difference is that when you add
\f107
in the customizer, the customizer will automatically remove\
and thus creates an issue. If nothing else works, would you please provide us the url and access information of your site so we can take a closer look. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.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.
Thank you.
July 7, 2015 at 9:32 pm #323869This reply has been marked as private.July 8, 2015 at 1:15 am #324003July 29, 2015 at 12:33 am #343700This reply has been marked as private.July 29, 2015 at 1:36 am #343756Hi,
I was able to fix the issue by adding the code below in your child theme’s style.css instead of adding it in custom > css
/* adjust arrow style */ @media (max-width: 979px){ .menu-item-has-children .x-icon-angle-double-down:before { content: "\f107" !important; } }
Kindly check on your end.
Thanks
July 29, 2015 at 2:09 am #343776This reply has been marked as private.July 29, 2015 at 2:16 am #343779Hi,
There is a syntax error in your custom > javascript code in the customizer.
Please remove the code in your custom > javascript box in the customizer that reads
/* adjust main menu media queries */ @media (min-width: 801px) { .x-nav-wrap.desktop, .x-nav-wrap.desktop { display: block !important; } .x-nav-wrap.mobile, .x-nav-wrap.mobile, .x-btn-navbar { display: none !important; } }
You need to add that code in custom > css box instead.
The contents of your custom > javascript box should only be this.
jQuery(function($){ if ( $(window).width() < 480 ) { $( '.x-brand img' ).attr('src', 'http://gda.wpengine.com/wp-content/uploads/2015/06/gda-logo-mobile1.png'); } });
Hope that helps.
July 29, 2015 at 2:30 am #343792Great, mobile logo is showing again–thanks.
So the mobile menu is working correctly now and showing single arrow instead of \F107, but the desktop view is still showing the default double arrows–any way to make those single arrows as well?
July 29, 2015 at 2:38 am #343796Hi,
I added the code below in your child theme’s style.css to make the desktop version show single arrow.
.x-navbar .desktop .x-nav li>a>span:after { content: "\f107" !important; }
Please check
Thanks
August 3, 2015 at 7:04 pm #349052Hello and thanks for doing that, but the arrows appear the same to me. See screen grab below.
August 3, 2015 at 11:42 pm #349220 -
AuthorPosts