Tagged: x
-
AuthorPosts
-
August 31, 2016 at 11:40 am #1155367
Missy SParticipantHello,
All of a sudden I can not get my submenu to drop on my nav bar.
I ve deactivated all plugins – didnt work.
I activated cornerstone – still didnt work.I cleared my cache and logged back in – still didnt work.
Ive removed all of my codes from CSS – didnt work.
Ive added this code to css –
.x-navbar .menu-item:hover .sub-menu{
display:block !important;
}It didnt work
so I replaced that code with this code –
li.menu-item-has-children:hover > ul {
display: block;
}I’m at a complete loss. Please help.
August 31, 2016 at 11:42 am #1155373
Missy SParticipantThis reply has been marked as private.August 31, 2016 at 12:51 pm #1155491
RupokMemberHi there,
Sorry to hear that you are having solution. I think it’s causing by your Child theme. Kindly switch to X from your Child Theme and check the issue again. If you see it’s working, you will know it’s related with your Child Theme’s code so that you can check that.
Cheers!
August 31, 2016 at 5:52 pm #1155841
Missy SParticipantThank you so much! My menu is working perfectly now so it is my child theme. Should I delete it and upload it again?
August 31, 2016 at 9:50 pm #1156175
LelyModeratorHi Missy,
Try to upload each file one at a time to see which one was causing the issue. No need to remove entire child theme folder just the one file that causing it. Then when you identify which one, check the content of that file and see which specific code cause the issue.
Hope this helps.
September 1, 2016 at 1:28 am #1156387
Missy SParticipantThis code seems to be causing the problem. Any ideas?
<?php // ============================================================================= // VIEWS/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'ethos', '_breadcrumbs' ); ?> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'ethos', '_landmark-header' ); ?>September 1, 2016 at 2:04 am #1156409
Paul RModeratorHi Missy,
Please remove the code in Appearance > Customize > Custom > Edit Global CSS that reads.
li.menu-item-has-children:hover > ul { display: block; }Thanks
September 1, 2016 at 2:28 am #1156425
Missy SParticipantHi, the malfunction happens when I move the post carousel below the top bar. My top bar has text in it and it was functioning well on my homepage until today.
Any idea how I can keep the order. I updated the code im using and moved the top bar below the landmark header and the submenu still doesnt drop and now I have my top bar content on all pages instead of just the homepage.
The working order I used to have was Nav bar, top bar, post-carousel. Please have another look. Thanks.
Below is the latest code:
<?php // ============================================================================= // VIEWS/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'ethos', '_breadcrumbs' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'ethos', '_landmark-header' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?>September 1, 2016 at 2:40 am #1156435
LelyModeratorHi There,
It’s a z-index issue. It is displaying but behind the topbar. Please add this custom CSS instead:
.x-topbar { z-index: 1000; }Hope this helps.
September 1, 2016 at 2:46 am #1156448
Missy SParticipantTHANKS LELY!!!!!!!!
And I figured out the correct code so that my top bar text only appears on the home page. Thank you so much!
September 1, 2016 at 2:50 am #1156455
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1155367 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
