Forum Replies Created
-
AuthorPosts
-
August 12, 2017 at 7:48 am in reply to: WPML Language switcher appears different on one page #837776
Yes, it solved the issue. Links with or without #top in the URL look and behave the same.
August 12, 2017 at 2:39 am in reply to: WPML Language switcher appears different on one page #837693It took me all day to figure this out. I need to learn styling better, but in the case of such a complex theme interacting with WPML, I should be forgiven. Here is my solution:
/* FIX THE MENUS DISPLAYING WRONG COLORS */ .header_color .main_menu ul:first-child > li.current-menu-item > a {color: #0066ff !important; } .header_color .main_menu ul:first-child > li.current-menu-item > a:hover {color: #ff4093 !important; } .avia-menu-text {font-weight: bold !important; font-size:130% !important;}
August 11, 2017 at 11:32 pm in reply to: WPML Language switcher appears different on one page #837676I discovered one more thing, after many hours of trying to figure this out, and that is that the #top in the mouse-over URL is not in the URL of the page source. I am going to include one more image to show you what I am talking about, here:
http://dash.lol/wp-content/uploads/2017/08/top_in_mouse-over_URL.png
Please review and let me know. This ticket is now over 24 hours old and tomorrow is a weekend. My expected go-live is August 19 and this is not resolved. Unhappy.August 11, 2017 at 8:12 pm in reply to: WPML Language switcher appears different on one page #837648What I am hoping for is One color for all links when not in HOVER state, and a different color when in HOVER state.
When #top in in the URL of the link, it uses the HOVER color and it just will not release it.
So, I either have to get rid of the #top in the URL, which is added automatically, or find a way to allow it, but not be used for HOVER state in color choice. I have tried a few things with css, but I am so far not able to get any results.
August 11, 2017 at 2:19 pm in reply to: WPML Language switcher appears different on one page #837462Anyone out there to help me out?
August 11, 2017 at 5:26 am in reply to: WPML Language switcher appears different on one page #837285The #top which is effecting colors sometimes appears in the WPML URL and other times it does not. I don’t know why. When it does, the color is changed just the same as when it appears in the Enfold menu.
It would be acceptable to remove the color change. I don’t care if the LINK contains #top, I just don’t want it to effect the color of the menu.
See this image:
http://dash.lol/wp-content/uploads/2017/08/where_does_top_come_from.pngAugust 11, 2017 at 12:15 am in reply to: WPML Language switcher appears different on one page #837222Ok, I see something interesting. When logged OUT the link is to: dash.lol/info/#top – and also in the language switcher
When logged in, the link includes #top only in English
When it is blue, it includes #top in the link.
I probably need to get rid of that. I am not sure where it is coming from.
Ideas?August 11, 2017 at 12:08 am in reply to: WPML Language switcher appears different on one page #837218This image will help you see what I am talking about.
http://dash.lol/wp-content/uploads/2017/08/menu_color_issues.pngAugust 10, 2017 at 10:55 pm in reply to: WPML Language switcher appears different on one page #837182WPML support says the problem is due to styles in the theme.
https://wpml.org/forums/topic/on-one-page-language-switcher-looks-different/#post-1339733Sometimes, the INFO link on the INFO page is color blue and other times, it is not. The “English” is always blue.
I would like the menu to behave better in terms of hover and links. It certainly needs to be consistent for all menu items.
I look forward to your response.
Thanks!
I also figured out how to adjust the colors of the border. So this is now a closed issue. Thanks again!
Google found it for me in a few clicks. Awesome!
Thanks Victoria! That is a great solution!
Victoria,
I understand something from your post that I never thought about before. Evidently, you can create content element on one page in the Enfold theme and show it on another with a shortcode. That would be a great solution. I am investigating. If I cannot figure out how to do it, I will ask more questions. THANKS!Victoria, did you have more to say? Thanks!
Hi Victoria, The idea is to make the tabs on this page http://dash.lol/zippo/ look more like the tabs on this page http://dash.lol/info/
The reason is to allow content elements on each tab. I suppose if you know your stuff with css or by changing the section id, it can be done.I will take it into consideration and figure out what to do. I prefer an unwanted answer to no answer. Thank you for the help!
Please don’t forget this post :) Thanks!
Hi Rikard! Thanks for the quick response. Support at Kriesi is why I have chosen Enfold. You guys are always there to help out!
Solved this one. The error was caused by a line of custom code. Thank you!
I have narrowed down the line that causes the error in load-scripts.php – it is this line:
wp_default_scripts($wp_scripts);But, I don’t yet know why that line is causing the error.
March 28, 2017 at 10:47 pm in reply to: Enfold, dynamic URL in a href of menu – based on $_REQUEST['lang'] #768492I think I figured it out… since each language has its own menu, just edit the URL in each menu like so:
ENGLISH: http:/whatever.com/access.php
SPANISH http:/whatever.com/access.php?lang=es
BR PORT http:/whatever.com/access.php?lang=pt-brI think I just need to be careful when synchronizing the menus not to include the URL.
January 24, 2017 at 12:53 am in reply to: Show one menu when logged in, another when not logged in #737487This was solved by WPML support. Here it is:
// set correct menu function display_correct_menu($args = '') { if ( !is_user_logged_in() ) { $args['menu'] = wp_get_nav_menu_object( 'top-not-logged-in' ); } else { $args['menu'] = wp_get_nav_menu_object( 'top' ); } return $args; } add_filter( 'wp_nav_menu_args', 'display_correct_menu' );
January 23, 2017 at 4:43 pm in reply to: Show one menu when logged in, another when not logged in #737322I created a ticket with WPML support. I welcome your ideas if you have any, but this is probably something they need to look at. Thanks so much for the help!
Ok, I will give this a try. Thank you Yigit!
OMG, that fixed it. I just commented out that line and the problem went away. I don’t understand why that line was included in the original instructions. It doesn’t matter now! It works! THANK YOU! SMILES FROM COLOMBIA! CLOSE THIS TICKET!!!!
ok, I was able to get an image in place of the text “Logged in as” – some sizing and styling needs to be considered, but I can do that. The only issue that remaing is why the link disappears from certain pages if you click on a tab of some other site (unfocus?) and then return. The link with the username disappears. Odd behavior considering the fact that that it is true for some pages only. I would bet it has to do with something on the page. <body> tag perhaps.
As long as I have your attention, can I add another related question… the “logged in as” is rather long. I would like to shorten it up and make it happier by using a smiley like you see here (shown as is, and how it could improve):
Again, thank you so much for the assistance. Best wishes, ec1warc1
I want to thank you for your help, as usual… so awesome. Anyway… I will put the instructions in the private data, you can take a look.
Wait a minute… I spoke too soon
OMG, it worked….
One more observations to make this solution a little bit better:
If I click on a different tab of the same browser, then go back to that tab, the “LOGGED IN AS: USERNAME” disappears. Is there something we can do to prevent that from happening?Anwyay…. this is an amazing solution and I really thank you!
I was able to do this one myself. I created a child template and am using jonradio theme switcher. It is working perfectly. Thanks!
-
AuthorPosts