Tagged: x
-
AuthorPosts
-
November 2, 2016 at 8:16 am #1240701
kboslandParticipantHello,
I would like a background image on my flipcard. I am following other threads but it is not working for me..flip1 {
background-image: URL(/wp-content/uploads/2016/11/greencar.jpg);
background-size: contain;
}.x-face-outer.front {
background-color: transparent!important;
border-color: transparent!important;
}November 2, 2016 at 8:16 am #1240702
kboslandParticipantcarbonclinic.com is the url
November 2, 2016 at 10:37 am #1240934
RupokMemberHi there,
It seems you have added the ID flip1 but using this as class on CSS. Let’s move flip1 from ID to Class field. Also you should use the absolute path of the image.
Cheers!
November 3, 2016 at 8:45 am #1242330
kboslandParticipantgreat, thanks, it is repeating slightly, how would I stop that?
November 3, 2016 at 9:36 am #1242426
DarshanaModeratorHi there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
November 4, 2016 at 5:14 am #1243594
kboslandParticipantThis reply has been marked as private.November 4, 2016 at 7:18 am #1243643
Paul RModeratorHi,
I am sorry but I am not really sure what you mean by “repeating slightly”
This is how it works on my end – http://screencast.com/t/Sfki37pT
If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do, we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thanks
November 7, 2016 at 3:52 am #1246793
kboslandParticipantDo you see how the image of the car starts again, and the image of the fuel does the same? I just want one centered image
November 7, 2016 at 4:05 am #1246807
Paul RModeratorHi,
Sorry about that.
To prevent it from repeating, you can add background-repeat:no-repeat;
eg.
.flip1 { background-image: URL(/wp-content/uploads/2016/11/greencar.jpg); background-size: contain; background-repeat: no-repeat; }Hope that helps.
November 7, 2016 at 4:13 am #1246819
kboslandParticipantThanks, that fixed that part, but the image shrunk in width.
November 7, 2016 at 4:33 am #1246836
Paul RModeratorHi,
You can change background size to cover.
eg.
.flip1 { background-image: URL(/wp-content/uploads/2016/11/greencar.jpg); background-size: cover; background-repeat: no-repeat; }Hope that helps.
November 7, 2016 at 6:13 am #1246956
kboslandParticipantThanks Paul, that is much better.
I added for the .flip2 .x-face-text {
display: none;
}When this happened, it made the card shrink in height. How do I maintain the size of it to a nice rectangle?
November 7, 2016 at 6:46 am #1246995
kboslandParticipantI have added min height and some padding and it looks much better, except when I flip the card and then it shows the picture behind it and is too short.
Thanks,
KathyNovember 7, 2016 at 7:03 am #1247006
Paul RModeratorHi Kathy,
You can add this under Custom > Edit Global CSS in the Customizer.
.flip1 .x-card-inner, .flip2 .x-card-inner, .flip3 .x-card-inner { min-height:220px; }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1240701 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
