Reputation: 1069
I'm trying to use OceanWp theme. And I have imported demo data "Lawyer". And modified it for myself.
This is a demo: https://lawyer.oceanwp.org/
The section "Why Choose Our Firm" does not apper on mobile phones. Both in the demo, and in my case.
It has switched somewhere. I have also checked if a class is added manually. It seems that no class is added. But in fact elementor-hidden-phone is still present. Could you tell me what to look at to solve the problem?
Upvotes: 2
Views: 2775
Reputation: 136
This is not an Elementor bug. You'll have to explicitly tell Elementor to 'Play On Mobile' by going to:
Style -> Background and setting Play On Mobile to 'yes'.
This will add "background_play_on_mobile":"yes" to the Elementor section element:
data-settings='{"background_background":"video","background_video_link":"https:\/\/vimeo.com\/12345678","background_play_on_mobile":"yes"}'
Refer to the screenshot.
Upvotes: 0
Reputation: 61
There's a bug in Elementor: check "Hide On Mobile" and just uncheck it - class will disapper
Upvotes: 6
Reputation: 49
To fix this via CSS, simply follow the below steps.
Once logged in, edit the "Why Choose Our Firm" section in the elementor.
Add a class, for example - "lawyer-firmvisible-section".
Put the CSS
@media (max-width: 1024px){
section.lawyer-firmvisible-section {
display: block!important;
}
}
Upvotes: -1
Reputation: 1
Please use this CSS in the custom CSS plugin (https://wordpress.org/plugins/custom-css-js/)
@media (max-width: 1024px){
section.lawyer-firmvisible-section {
display: block !important;
}
}
Upvotes: -1