Skip to content

Instantly share code, notes, and snippets.

@RiaanKnoetze
Last active December 6, 2017 06:01
Show Gist options
  • Save RiaanKnoetze/670fe94d4ef4ad13fff96c4e40c2de74 to your computer and use it in GitHub Desktop.
Save RiaanKnoetze/670fe94d4ef4ad13fff96c4e40c2de74 to your computer and use it in GitHub Desktop.
Update Galleria child theme styles to ALWAYS show title, pricing and buttons
.site-main ul.products li.product, .smm-mega-menu ul.products li.product {
overflow: visible;
}
.site-main ul.products li.product .button,
.site-main ul.products li.product .g-product-title,
.smm-mega-menu ul.products li.product .button,
.smm-mega-menu ul.products li.product .g-product-title {
display: block;
opacity: 1;
position:relative;
background-color: #fff;
padding: 0;
}
ul.products li.product:not(.product-category) .g-product-title,
ul.products li.product:not(.product-category) .g-product-title h3,
ul.products li.product:not(.product-category) .g-product-title h2,
ul.products li.product:not(.product-category) .g-product-title .woocommerce-loop-category__title {
color: #000;
background-color: #fff;
font-size: 1rem;
position: initial;
}
.site-main ul.products li.product .g-product-title {
min-height: 100px;
}
ul.products li.product .g-product-title .price {
color: #000;
font-size: 1em !important;
opacity: 1;
}
.site-main ul.products li.product .button {
transform: inherit;
padding: 0.5em;
margin-top: 0.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment