Change the "x" close button on cards

More
3 years 9 months ago #46621 by DeFactoSA
I have been asked to change the 'x' close button on the cards (that open once you click on an image on the home page) to something else - a clickable image. Please advise where I can find this to change it.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #46623 by milos
Hello,

1. Make image size 72 x 72 px and name it like myimage.png. Upload it to /templates/hot_polygons/images folder.

2. Edit template_css.css file and change this part:
.card__btn-close {
	font-size: 36px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 36px;
	cursor: pointer;
}

with this:
.card__btn-close {
	font-size: 36px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 36px;
	cursor: pointer;
	background: url(../images/myimage.png);
}

.card__btn-close::before {
	content:"";
}


Regards,
Milos

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.101 seconds