Skew Modules to 0 Degrees in Home Page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jul 15, 2015 5:29 am
Reply with quote
Report this post
How do I skew the slanted modules to be horizontal for Mobile and Tablet?

Below is the CSS overide which works on desktop but NOT on mobile or tablet:

.frontpage #gkDarkBottom::after, .frontpage #gkDarkBottom::before,
.frontpage #gkBottom3::after, .frontpage #gkBottom3::before {
transform: skewY(0deg);
}

#gkBottomSection::before {
transform: skewY(0deg) !important;
}

Thanks for helping.
User avatar
Junior Boarder

GK User
Wed Jul 15, 2015 6:19 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Jul 15, 2015 6:33 am
Reply with quote
Report this post
I will private message the URL. Thanks.
User avatar
Junior Boarder

GK User
Thu Jul 16, 2015 1:18 pm
Reply with quote
Report this post
Could you please mark those elements on a screenshot?
User avatar
Moderator

GK User
Fri Jul 17, 2015 3:37 am
Reply with quote
Report this post
For example in your demo template, the modules are skewed on the home page. I have the css above applied for desktop however I like to apply the same for mobile and tablet.
User avatar
Junior Boarder

GK User
Mon Jul 20, 2015 11:03 am
Reply with quote
Report this post
Hello,

Did you tried to use the CSS properties with prefixes?

Code: Select all
-webkit-transform: skewY(0deg) !important;
-moz-transform: skewY(0deg) !important;
-ms-transform: skewY(0deg) !important;
-o-transform: skewY(0deg) !important;
transform: skewY(0deg) !important;
User avatar
Administrator


cron