-
AuthorPosts
-
September 10, 2015 at 5:11 pm #384944
Hi:
I have a series of eight cards on this page (scroll down to the bottom):
http://whidbeycamanoislands.com/filming-and-commercial-photography/I would like to control the height of the cards. However, I also have other cards on the site, so I need css to control just these eight cards.
I used Cornerstone to give each of the cards the custom class of “permit-card” (without the quotes).
Using the Chrome browser’s Inspect Element feature I found the following:
x-card-outer permit-card flip-from-top center-vertically flip-3dI put the following custom CSS in, but it controlled the height of outside of the card, not the card, itself.
.x-card-outer.permit-card.flip-from-top.center-vertically.flip-3d {
min-height: 600px;
}What’s am I doing wrong?
This site is running WordPress 4.3, theme version 4.0.7.
Thanks… again.
September 10, 2015 at 9:23 pm #385145Hello There,
Thanks for writing in!
Before anything else, please make sure that you are up to date. There is a known bug in the card element that was fixed in our latest release of Cornerstone 1.0.6. This bug is regarding the height of the cards.
Our latest versions are:
X Theme: 4.1
Cornerstone: 1.0.6
Visual Composer: 4.7
Revolution slider: 5.0.6You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site. If you find anything to be out of date, you can review our update guide.
Thank you.
September 11, 2015 at 9:39 am #385806Updates are done. XTheme 4.1 and Cornerstone 1.0.6 are installed. I’m not using VC or Revolution, so at this point they’re not relevant.
September 11, 2015 at 12:49 pm #385974Hi there,
Thanks for writing in!
Please add following CSS under Custom > CSS in the Customizer:
@media (min-width: 768px) { .permit-card .x-card-inner { min-height: 540px; } }
Hope this helps. 🙂
Thank you.
September 11, 2015 at 2:16 pm #386029That works. Thanks!! I assume that if I want to do the same with other cards I’d just declare a new custom class and swap .permit-card with my new class?
September 11, 2015 at 6:01 pm #386205Hi again,
Glad it worked. Yes that’s correct, just change the class name with your custom class.
Cheers!
-
AuthorPosts