Tagged: wpml
-
AuthorPosts
-
March 1, 2016 at 10:08 am #591437
Hi,
I have two WPML-related questions.1) On the homepage of my site, when I click on Italian in the language switcher, the wrong page comes up. It’s not the Italian translation of the English homepage (which is http://hashtag.be/it/be-intro). The English homepage is http://hashtag.be and Italian should be http://hashtag.be/it and you can see the Italian one goes to a page that looks different. I’ve checked that my Italian homepage is “home” in my Reading settings, but it’s still doing it.
2) I’ve applied some quick CSS to the English version of a couple of pages to fix spacing issues on http://hashtag.be (http://hashtag.be/it/be-intro) and http://hashtag.be/benetwork (http://hashtag.be/it/benetwork/), but on the Italian versions, the CSS isn’t applied. I’ve checked that the page IDs match the ones in the CSS…nothing works.
Thanks in advance!
March 2, 2016 at 6:45 am #591902Hi mxshi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMarch 2, 2016 at 9:29 am #591968Please see below, thanks!
March 7, 2016 at 12:53 pm #594254Hi!
1.) Please reset the Settings > Reading options then set the home page of each language in the Enfold > Theme Options > Frontpage Settings.
2.) You need to add the css code in the Theme Options of the Italian language as well. Note that you have configure the theme options of the languages separately.
Best regards,
IsmaelMarch 8, 2016 at 9:09 am #5948811) Thanks! That fixed it — didn’t see that option there.
2) I copied the quick CSS directly from the English theme options and pasted it into the Italian quick CSS (except changing the page IDs where applicable), but nothing happens on the pages it’s supposed to affect? Specifically http://hashtag.be/it and http://hashtag.be/it/benetwork/
You can see the differences below:
March 10, 2016 at 8:12 am #596132Hey!
What are the css codes that you use? Please post it on pastebin.com, we would like to inspect it. I noticed that you didn’t use the color section’s Section ID field. Maybe, something that you can look further into.
Cheers!
IsmaelMarch 10, 2016 at 11:02 am #596211Here is the Italian CSS: http://pastebin.com/Rw29PqYH
English CSS: http://pastebin.com/rta4e6HJAh, I didn’t use the section ID field for Italian because I didn’t use it for English. I assumed I could just copy the CSS directly over?
March 15, 2016 at 6:32 am #598180Hi!
The id of the italian page is different from the english one. For example, the following code:
.page-id-2457 #av_section_2 { min-height: 53px !important; }
… should be replaced with:
.page-id-3044 #av_section_2 { min-height: 53px !important; }
The css code is not working on the italian page because the page id selector is different. Please use the Section ID field instead of the generated builder and wp selectors.
Cheers!
IsmaelMarch 15, 2016 at 12:19 pm #598328Hi,
I tried this code:.page-id-3044 #av_section_2 { min-height: 53px !important; }
and nothing happened.
Then I added a custom class to the orange bar on this page: http://hashtag.be/it/benetwork/ but it still doesn’t seem to work. Am I missing something?
.benetwork-demo { min-height: 53px !important; }
I also noticed that in Enfold Italian theme options, even though I have slected Advanced Styling > Linked Image Overlay > Minimal (no icon), the icon still shows on the image hover on this page: http://hashtag.be/it/benetwork
March 18, 2016 at 4:23 pm #600360Hi!
you have added this code in your Quick CSS field:
/*.page-id-3044 #av_section_2 { min-height: 53px !important; }*/
Please remove the “*/”
Best regards,
AndyMarch 21, 2016 at 5:02 am #600992I commented that part out because it wasn’t doing anything to that page. I’ve removed them now. But nothing is happening with my custom classes…
March 24, 2016 at 2:09 pm #603045Hey!
It’s not working because there’s a missing bracket in the media query. We fixed that but there’s still an issue. The css files are cached so I checked the plugins panel but there is no cache plugin installed. Is there some kind server cache? Please ask your hosting provider. This is the cached css file: http://hashtag.be/wp-content/uploads/dynamic_avia/enfold_it.css?ver=55acbc39ab3b2
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.