Tagged: x
-
AuthorPosts
-
January 20, 2017 at 3:43 am #1338132
CurcicParticipantHello,
need help in moving language flags from main menu to the top menu, above main menu.
There are 3 flags which need to be inline.January 20, 2017 at 7:34 am #1338307
JoaoModeratorHi There,
You need to go to Appereance > Menu and drag and drop all the flags to the parent level.
Hope that helps
Joao
January 20, 2017 at 7:53 am #1338330
CurcicParticipantMaybe I wasnt clear enough, not inline with nav bar – main menu, but above it – in TOP menu.
Tnx
January 20, 2017 at 10:07 am #1338468
JoaoModeratorHi there,
You could add image links on your top bar than.
Go to Appereance > Customizer > Header and turn on the topbar content.
add to your topbar content:
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.
Hvala
January 24, 2017 at 3:46 am #1342817
CurcicParticipantThis reply has been marked as private.January 24, 2017 at 6:52 am #1343021
Paul RModeratorHi Hvala,
To achieve that kindly do the following.
1. Install and activate a child theme.
https://community.theme.co/kb/how-to-setup-child-themes/
2. Add this in your child theme’s functions.php file(wp-content/themes/x-child/functions.php)
add_filter('x_option_x_topbar_content', 'do_shortcode'); add_action( 'x_after_view_global__slider-below', 'add_blog_slider', 10 ); function polylang_shortcode() { ob_start(); pll_the_languages(array('show_flags'=>1,'show_names'=>0)); $flags = ob_get_clean(); return '<ul class="my-flags">'.$flags.'</ul>'; } add_shortcode( 'polylang', 'polylang_shortcode' );3. Navigate to Appearance > Customize > Header > MISCELLANEOUS and add code below as your topbar content.
[polylang]4. Add this in Custom > Edit Global CSS in the customizer.
.my-flags { float:right; display:block; } .my-flags li { list-style-type:none; display:inline-block; vertical-align:middle; padding:5px; }Hope that helps
January 24, 2017 at 7:39 am #1343084
CurcicParticipantOk, since I already made the form of the website, and it is not child theme, is there a way to copy-paste all the content from Xtheme to child theme , I’ve already done? Or I have to go all from the scratch, manually?
ThanxJanuary 24, 2017 at 10:58 am #1343392
JoaoModeratorHi There,
You can copy the files from your original website to your Child Theme, this is extremely reccomendable in order that you do not lose your changes once you update your theme.
Hope that helps
Joao
January 25, 2017 at 2:49 am #1344391
CurcicParticipantThanks a lot!
Just one more question about the top menu, I need to remove social bar icons fro the top menu,
also need to have transparent background.January 25, 2017 at 3:32 am #1344423
CurcicParticipantMeanwhile, i resolved it all,
thank you!!!January 25, 2017 at 7:17 am #1344643
ThaiModeratorGlad you’ve sorted it out 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1338132 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
