itweb99
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconhi max,
I’m having trouble adding the language switch icon on desktop view I even set no to “use compact view on desktop”, though its showing on mobile view. I created a child them and i added this code to function.php of child them:function brand_compact_navigation() { $brand_settings = wp_parse_args( get_option( 'brand_settings', array() ), brand_get_defaults() ); $search_icon = 'enabled' === $brand_settings['nav_search'] ? '<a href="#" class="search-form-icon"><i class="fa fa-fw fa-search menu-search-form-icon"></i></a>' : ''; ?> <div class="compact-menu-icons"> <?php echo $search_icon; // WPCS: XSS ok. ?> <ul style="list-style-type:none;margin:0 10px;padding:0;"><?php pll_the_languages( array( 'show_flags' => 1, 'show_names' => 0, 'hide_current' => 1 ) );?></ul> <a id="mobile-menu-button" class="c-hamburger c-hamburger--htx"> <span>toggle menu</span> </a> </div> <?php }Please see the screesnhot
1.) Compact view on desktop is set to no
2.) function.php of child theme
3.)Mobile/compact viewForum: Themes and Templates
In reply to: [Brand] Sticky Menuis the sticky menu there on the free version?
Forum: Themes and Templates
In reply to: [Brand] Bilingual SliderHi MAx,
ifollowed all your steps but it only change the languge of third slider but slider 1 & 2 are stil in english even when i switch to thai.
Follow this link to see the screenshot
https://drive.google.com/open?id=0B35RsB97MvGLeFFrZFViLVVXRGc
Thanks- This reply was modified 8 years, 11 months ago by itweb99.
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconI inserted the below code in function.php, as you told me to add there.
function brand_compact_navigation() { $brand_settings = wp_parse_args( get_option( 'brand_settings', array() ), brand_get_defaults() ); $search_icon = 'enabled' === $brand_settings['nav_search'] ? '<a href="#" class="search-form-icon"><i class="fa fa-fw fa-search menu-search-form-icon"></i></a>' : ''; ?> <div class="compact-menu-icons"> <?php echo $search_icon; // WPCS: XSS ok. ?> <ul style="list-style-type:none;margin:0 10px;padding:0;"><?php pll_the_languages( array( 'show_flags' => 1, 'show_names' => 0, 'hide_current' => 1 ) );?></ul> <a id="mobile-menu-button" class="c-hamburger c-hamburger--htx"> <span>toggle menu</span> </a> </div> <?php }But the menu is now moved towards the logo.
Thank you so much for all your help.- This reply was modified 8 years, 11 months ago by itweb99.
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconI want the menu/navigation to be on the right, now its more towards the logo, on the left.link below
https://drive.google.com/file/d/0B35RsB97MvGLeFFrZFViLVVXRGc/view?usp=sharing
I want to have the menu like this
Please follow this link to view the image
https://drive.google.com/file/d/0B35RsB97MvGLMkcwMldmZnVNWDQ/view?usp=sharingForum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconok ,so the language switcher icon is showing on mobile view(compact menu) but not on desktop.
I inserted the above code from in function.php file after 1st line –
<? php
function brand_compact_navigation() {…………………………………..
So i want the language icon to show on desktop as well.And the menu is close to the logo(logo on left) i want the menu to be on the right or center how ?
Thanks
Forum: Themes and Templates
In reply to: [Brand] Adding Polylang language switcher iconI want to put the language switcher icon in the header after search icon, where can i add it? Which file?
Also the logo disappear on mobile and tablet, how to fix it?
On desktop it show the logo but on phone it only shows search icon and three line (menu mobile compact view).