Tagged: x
-
AuthorPosts
-
November 8, 2016 at 6:27 am #1248569
string111ParticipantHey there!
I have tried to change the front of a card-element to an image, but the methods I found have not worked for me.
I hope you can help me 🙂Here is the code which I placed in my Appearence > Custom CSS:
.x-card-outer .x-face-outer.front .x-face-content { display: none; } // Senior Card .my-card-special-number-1 .x-face-outer.front .x-face-inner { background-image: url('http://wp.greiffenstein.de/wp-content/uploads/2016/05/placeholder-Image.png'); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }I have also added the
my-card-special-number-1to the class of the specific element.
The image link is valid.
I have also already set up a Child Theme.Thanks in advance!
Raphael
November 8, 2016 at 6:28 am #1248570
string111ParticipantThis reply has been marked as private.November 8, 2016 at 7:18 am #1248612
JadeModeratorHi Raphael,
I tried checked your site but I can’t seem to find the Card Element that you are currently working on. Would you mind providing the direct link to the page so that we could check?
Thanks!
November 8, 2016 at 9:19 am #1248774
string111ParticipantThis reply has been marked as private.November 8, 2016 at 10:13 am #1248853
RupokMemberHi there,
The code should be like this :
.my-card-special-number-1.x-card-outer .x-face-outer.front { background-image: url('http://wp.greiffenstein.de/wp-content/uploads/2016/05/placeholder-Image.png'); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }Cheers!
November 10, 2016 at 7:13 am #1251619
string111ParticipantHey,
Code does not work, I tried to change the picture, but no images are working. Dunno what’s causing the issue, I will investigate more.
Thanks though!
November 10, 2016 at 9:30 am #1251831
JoaoModeratorHi 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.
Thanks
November 15, 2016 at 5:18 am #1257748
string111ParticipantThis reply has been marked as private.November 15, 2016 at 6:27 am #1257815
ChristopherModeratorHi there,
There are many of following sentence in Customize -> Global CSS :
This hotel is located in the city center.Please remove them.
Add semicolon at the end of each property, see the attachment.
Update previous CSS to :
.x-card-outer.my-card-special-number-1 .x-face-outer.front { background-image: url("http://wp.greiffenstein.de/wp-content/uploads/2016/05/placeholder-Image.png"); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1248569 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
