-
AuthorPosts
-
October 17, 2014 at 5:13 am #337142
Hi Guys,
I’m currently updating my theme to use a child theme and I can’t get my Mobile style working. I have the following code in the child theme style.css and it’s just not working. This was working perfectly fine in 2.8 which I have upgraded form to the latest version. Any Ideas?
http://animationink.com.au/major/
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.ls-wp-fullwidth-container{ display: none !important; }
/* Hide main catorgy image on mobile*/
.home a.avia_image.avia-builder-el-6.el_before_av_heading.avia-builder-el-first.avia-align-center { display: none; }
.home a.avia_image.avia-builder-el-10.el_before_av_heading.avia-builder-el-first.avia-align-center { display: none; }
.home a.avia_image.avia-builder-el-14.el_before_av_heading.avia-builder-el-first.avia-align-center { display: none; }
.home a.avia_image.avia-builder-el-18.el_before_av_heading.avia-builder-el-first.avia-align-center { display: none; }
.home a.avia_image.avia-builder-el-22.el_before_av_heading.avia-builder-el-first.avia-align-center { display: none; }
/* Hide Info News */
.home div.flex_column.av_two_third.first.avia-builder-el-25 { display: none; }
/* Hide Info Selection */
.home div.flex_column.av_one_third.avia-builder-el-28 { display: none; }
/* Hide Major About */
.home div.flex_column.av_one_full.first.avia-builder-el-37 { display: none; }
/* Hide them by default */
#mobilebuttons{ display: none;}
#mobilenews{ display: none;}/* Show them only on mobile and hide the existing ones */
#mobilebuttons{ display: block; }
#mobilenews{ display: block; }
}October 20, 2014 at 7:50 am #338157Ant chance someone could help me on this?
Cheers
Carl
October 20, 2014 at 9:41 pm #338667Hi!
Do you mind creating a temporary admin login and posting it here privately?
Best regards,
YigitOctober 20, 2014 at 10:55 pm #338722This reply has been marked as private.October 21, 2014 at 8:32 am #338873Hi!
Thank you for using Enfold.
The selectors like this one for example, .home div.flex_column.av_two_third.first.avia-builder-el-25, are dynamic selectors and might change if you edit anything on the actual page. If you want to target an element, please apply a custom css class on it. Please refer to this link: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.