Forum Replies Created
-
AuthorPosts
-
October 26, 2013 at 7:03 am in reply to: Media queries and custom CSS for French translations (WPML) #180946
Dude, I could not get the second option to work either.
From the research I read up on, I’m not supposed to nest <?php takes inside <?php tags correct?
So I simply added the code snipped (without) the opening and closing .php tags like this :
add_filter('body_class', 'append_language_class'); function append_language_class($classes){ $classes[] = ICL_LANGUAGE_CODE; //or however you want to name your class based on the language code return $classes; }
Is this ok? I didn’t happen to see any closing ?> tags anywhere in the functions.php file.
I’m really trying here Dude. I’m not as advanced as a developer as you. Thanks for your patience.
October 25, 2013 at 10:29 pm in reply to: Media queries and custom CSS for French translations (WPML) #180835Hello Dude! Thanks for your help. The first code example didn’t work.
For the second one :
body.fr_FR p{ font-size: 14px; }
. . . where in the functions.php folder should I place this? :
<?php add_filter('body_class', 'append_language_class'); function append_language_class($classes){ $classes[] = ICL_LANGUAGE_CODE; //or however you want to name your class based on the language code return $classes; } ?>
Thank you.
October 25, 2013 at 7:19 am in reply to: Media queries and custom CSS for French translations (WPML) #180520October 25, 2013 at 7:03 am in reply to: Media queries and custom CSS for French translations (WPML) #180515Josue,
I finally ahd a chance to get to this, and it unfortunately doesn’t work.
I tried adding the html[lang=’fr’] string to numerous css rules and nothing would happen. I have searched deeply all over the web, as well as the Kreisi and WPML forumes, but nothing.
It’s mainly the main navigation. It (broke) after translating it. Because the French translation made the menu items longer, it cause the menu to break. So, I’m trying to customize the (fr) version of the menu.
Man, I’m stuck here.
October 24, 2013 at 9:41 pm in reply to: Media queries and custom CSS for French translations (WPML) #180393Hi Josue,
I’m not a developer and I have no idea where to add that code. Sorry man, but what’s easy for you may not be so easy for me. If we were using Photoshop, then I’m sure we’d have a great time, but please, . . . can you be more specific. I’m literally a month past deadline with this person. I will hire someone to translate from now on. Complex.
Cheers,
PatOctober 24, 2013 at 9:35 pm in reply to: Media queries and custom CSS for French translations (WPML) #180387Ismael, this does not work. Tried it 3 times. Refreshed browser, etc.
Can you explain in more detail? Maybe I’m missing something.
Thank you.
October 24, 2013 at 9:21 pm in reply to: Media queries and custom CSS for French translations (WPML) #180385Oh really?! It will work like that!? Sweet! If this works we need to make this resolution available for others because I spent nearly the entire day yesterday trying to figure this out. I will be back to confirm that it worked for me.
Thank you Ismael
Yigit, you’re awesome. That did the job! Thank you.
RESOLVED.
Whoops, wrong category. This is regarding the Incarnation theme.
Thank you.
Thanks Yigit! You the man! :-) RESOLVED
Have a great day!
-Pat
Oh, here’s the link to the original helpful post if someone else needs help with it.
https://kriesi.at/support/topic/portfolio-6-columns/Devin,
Here was the fix I found. I was missing the second step.
Needed to add :
case "6": $grid = 'av_one_sixth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break; }
Thanks for the reply buddy. Resolved.
Sorry for the confusion Ismael, but will this give me 6 columns? I need six columns.
This looks like it’s going to give me 5.
Am I misunderstanding?
Hello Ismael,
The Progressive Player guys were very helpful and actually went as far as going onto my server and doing this for me. Other than you guys, I haven’t seen this kind of support in a while.
But yes, that’s what Mike did. Exactly what you said, and it worked.
Thank you buddy.
Thank you Ismael. This helped.
Really?! This sounds great! Your link isn’t working for me though. I will see if I can track down how to do this. Don’t want to keep bothering you guys. I’m sure the answer’s on here somewhere.
Thank you for the lightning fast response!
-Pat
Oh, I see that WPML DOES offer Enfold support. Sorry. i will update shortly to help others.
Thx,
PatIsmael, I removed the mediaelementplayer.css and left it empty. It fixed the issue with the way the new player lookes (visually), but it still wont open and show the playlist.
Is there any other elements I should delete in the js file that could be conflicting?
Sorry, don’t mean to push my luck. I know this is asking for a lot.
Regards,
Pat
Hello Ismael,
I wasn’t even aware that there was a native audio player in Enfold. Even as i look, I don’t see one.
This particular audio player is supposed to open up into a playlist with numerous tracks, but it doesn’t work. It works when i activated the Twenty-Thirteen theme, so it’s something with the Enfold theme conflicting. Assuming it’s the native audio player script, I will remove that and see if this helps. I’ll copy the script in case it does not work, because I may want to try the native player if this one doesn’t work.
Thanks Ismael.
PatOk, I’m on to something. I trying to give you guys everything you need to help me with this issue. Thank you for baring with me.
1. I applied the example that Josue referenced to me on how to use media queries for specific browsers and made the menu items BOLD within Safari
2. There were (3) specific menu items that remain NORMAL weight, and the rest are BOLD.
3. I (replaced) one of the NORMAL menu items (pages) with a new page I created named “Test Page.” Attached is a screenshot of what’s going on.
http://postimg.org/image/632qvma8n/As you can see there is some craziness happening here. If it’s not my custom CSS, and it’s not the browser or my hosting, it has to be the theme. Please please please help me with this guys. This is it. I will have to go with another theme and spend weeks re-custimizing it (dozens of hours). I have never experienced this level of issues without a theme developer offering to login to my admin and help out. I’m 98% sure it’s a theme issue.
RECAP :
1. I’ve tried clearing out ALL myc custom css. – Issue remained
2. I am running the latest version of Safari.
3. My hosting provider says it’s not a server issue.
4. I deactivated ALL my plugins – issue remained.
5. I updated the theme – issue remained
6. I tried a different font – issue remainedWhatever is left to do is beyond my expertise.
please help
Here was the response I received from my hosting support person :
its not a hosting issue its to do with how safari is ignoring the !important in the css rules probably
this rule affects the of the menu text
color: rgb(187, 187, 187) !important;its in .main_menu ul:first-child >
thats in enfold.cssOR – safari is making the borders of the font slightly fuzzier (you could make that look better by increasing the font size).
The second option is more likely as the mouseover effect makes the words brighter.
But theres nothing server side that affects how different css browser rules are rendered in different browsers.
It’s not an !important rule issue because i cleared all the custom css and the issue still persisted. This is one crazy situation. It really sucks because this is the best theme ever and I might have to start over with a new theme.
So it sounds like I’m stuck. I guess the last thing to try would be to test another font maybe. I’m out of ideas. I will update (in case soeone else has this issue.)
I think I finally figured out the issue. I had the portfolio column set to 4, but only had 3 images. I changed the column setting to (3) and then when the images opened up in the lightbox it looked good. I will change it back to (4) columns when I get more images.
So to conclude, it seems as though you have to have a minimum or 4 images if you choose 4 columns. Same would go for 3 columns and so on.
Resolved! :-)
Boy, that was tedious! But the results were sweet! Thanks again Yigit!
You (and the other guys) have been very helpful.
Cheers,
Pat
Sorry Josue, . . . that didn’t quite work. No change in the lightbox frame color. :-(
-Pat
Yigit, you’re the shiznit! Thank you! :-) Resolved.
Josue, thank you! That did the job! :-)
Thanks again Ismael for your help as well.
-Pat
Well, it’s already on a sub domain. I wonder if Bluehost would help out? Being that it might be a server issue. I’ve delt with server issues and hosting companies (from my experience) will go above and beyond to say it has nothing to do with their server settings, etc.
I think I sprouted a few new grey hairs over this. Haha
Thanks Devin. I will try this out.
Sincerely,
Pat
Here is my URL if you’d like to take a look. http://goo.gl/GbgbhY
Hello Isamael. Thank you for your help. I tried this, and it worked, but then the logo overlapped the menu items (making them unclickable.)
Thank you Yigit. that worked perfectly.
-
AuthorPosts