Avada-Theme fusion Portfolio/Projects Page WPML Style Error - wordpress

I want to translate the Portfolio/Projects Page to Arabic in my WordPress site which uses Avada and WMPL.
So, I updated the Layout of the page in English, and I translated each section of it using WPML. For example the "Page Title Bar", "Content". And each translated section uses Arabic fonts and styles correctly.
Problem is the Arabic version of the pages uses the CSS style of the English version, so fonts margins, paddings, .. are messed up. If I were to update any of the page's sections (PTB, Content), then that would be in reverse, where the Arabic page will uses its designated correct styles and the English page would get messed where it would use Arabic's styles and fonts. Re-updating any of the section would reverse the problem each time
How to fix the problem?

Related

How to change default language of wordpress website with loco translate plugin?

I have wordpress website with loco translate and two languages russian and ukrainian.
First russian language was created and later added ukrainian, therefore russian language loading by default when you visit the page. I want the main page to load in Ukrainian by default.
That is,
main.com/index.php is the Russian version, but you need to change it to
main.com/uk/main-ua
What i tryied ?
I did a redirect, but then the Ukrainian version is always loaded and it is impossible to change the language.
In the site settings, I set the default site language to Ukrainian, but this had no effect, as it was loaded in Russian and loaded.
I put in wp_config line define('WP_HOME', 'main.com/uk/main-ua') but it has no effect, russian version main.com/index.php is loaded anyway.
In the database, in the table wp_options, i changed the corresponding settings, the links in the menu changed to the "ukr" version, but the text of the links was not there, and the content of the main page remained "russians".
I'm confused now how to did it correctly. Who did this, give advice. Thanks.
Finally i found answer. There was mess in the polylang posts and the translations
some translations was not assigned to posts. So check if your post have translations first then go to "Languages" tab in admin panel and click on the star in the languages list.

PageBuilder: Problem with the site header

Despite my research on StackOverFlow and even on the PageBuilder by SiteOrigin publisher's forum. Either I did not find my answer, or it is no longer valid with the current version, 2.11.8.
I would like to know if there is a "canva page" or blank page mode, or a way to remove the title from the page, basically I would like the page to start at the black banner. And on wordpress, in the PageBuilder settings, I haven't found anything that it can do the job, and even with the custom css it doesn't totally work.
[the screenshot of the site][1]
I would like to know if there is a "canva page" or blank page mode, or a way to remove the title from the page, basically I would like the page to start at the black banner. And on wordpress, in the PageBuilder settings, I haven't found anything that it can do the job, and even with the custom css it doesn't totally work.
I followed this forum: https://siteorigin.com/thread/remove-theme-header-for-page-builder/ but there is still the white banner that I want removed.
And the layout comes from the PageBuilder library and not from a theme.
Thank you
[1]: https://i.imgur.com/1JbGPSM.png
The theme controls the output of the page title. At this stage, Page Builder doesn't add a blank canvas template to themes. If you're using SiteOrigin Corp or many of our other themes you can use the Page Settings section on each page to remove the page title, sidebar, footer widgets, and other attributes. Other themes might also offer page-level settings or use Page Templates to do the same.

Wordpress — Replace TinyMCE with TEXTAREA?

I'm using Wordpress with TinyMCE.
What a piece of junk TinyMCE is!
TinyMCE reformats my HTML, including by removing all of the p tags. I've even chosen the wordpress option to have it to not do that. Doesn't work.
Sometimes, TinyMCE doubles sections of content or completely changes the HTML source to be totally broken.
How can I replace TinyMCE with TEXTAREA? I just want to type my HTML code in and not have it be damaged by the plugin.

Wordpress WPMl plugin not working properly

I installed Wordpress Multi Lingual (WPML) in my site,but
after selecting the language from dropdown its successfully changes the site language,but dropdown removed and another menu replaced on language selection dropdown
here is the image:
Before selecting the language
Before
AFter changing the language
After
When you install WPML you need to translate your content before it displays correctly in your website. Menù for examples can be translated in the WP backend inside the menù settings page.
While that is true for the menù content (which explains why you see different items) there's another part of your issue which is (i guess) CSS based.
I am just trying to guess but who wrote the CSS used some specific class/id of the original language menù which doesn't exist/ is slightly different in your different language. Try to inspect the CSS using some debug tools (like Google Chrome developer tool window) to find out which style your new menù is missing

Mobile menu on wordpress

We are using Wordpress with the Avada 5.1.6 theme and Polylang plugin.
The mobile menu does not show on the english version it shows on the portuguese version
I've inspected the generated html and the menu exists in both pages.
I tried disabling the Polylang plugin and the mobile menu does not show on any page
Thank you!
TLDR:
Don't forget to check the selected language before editing configurations that you need to share between languages!
Long description
The issue was that custom css was being applied to the english version of the website hiding the header.
The reason why the configuration for custom css was not considered initially was caused by the fact that Wordpress actually treats each language as their "own website", each one having different configurations, including custom css.
By selecting "all languages" on the Wordpress menu, it was possible to reset the custom css configuration for all languages at once.
Thanks.

Resources