.g-main-feature {
.image-block {
@include breakpoint(tablet-range) {
display: block;
}
@include breakpoint(mobile-only) {
display: block;
}
}
}
@import "dependencies";
code at the very top of your custom.scss file.@import "dependencies";
code at the very top of your custom.scss file.body {
.g-main-feature {
.image-bottom {
@include breakpoint(mobile-only) {
margin: 0;
}
}
}
}
.g-main-feature {
.image-block {
@include breakpoint(tablet-range) {
display: block;
}
@include breakpoint(mobile-only) {
display: block;
}
}
}
body {
.g-main-feature {
.image-bottom {
@include breakpoint(mobile-only) {
margin: 0;
}
}
}
}
.g-main-feature .image-bottom {
padding-top: 15px;
}
image-bottom
class is added to the markup (HTML) only when the Image at the bottom option is set to "Yes".padding-top
code to always be in effect then add the following code to your custom.scss file:.g-main-feature-image {
padding-top: 15px;
}
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »