Home Forums Basel support forum Product title and view product text are not shown clearly on this design Reply To: Product title and view product text are not shown clearly on this design

#41593

Bogdan Donovan
Keymaster

1. Add this code snippet to your desired resolution Custom CSS area to change the Alternative category title font size on this resolution. Code placement example https://gyazo.com/b131469705126af73e8c20432f87ecb3

body .cat-design-alt .hover-mask > h3 {
	font-size: 20px;
}

2. Same as previous for Categories Design Center.

body .cat-design-center .hover-mask >h3 {
	font-size: 15px;
}

3. Use this code snippet instead previous, to place title at the bottom. You can adjust position more precise by editing string bottom: 20px;.

.cat-design-center .hover-mask > h3 {
    display: table;
    background-color: rgba(255,255,255,0.7);
    padding: 20px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.cat-design-center:hover .hover-mask > h3 {
	padding-bottom: 30px;
}

.cat-design-center .hover-mask > a:last-child {
	margin-bottom: 0;
	margin-top: -30px;
	color: rgba(0,0,0,0.8);
	z-index: 20;
}

.cat-design-center .hover-mask > a:last-child:hover {
	color: black;
}

body .cat-design-center .hover-mask {
	top: auto;
	bottom: 20px;
}

@media (max-width: 991px) {
body .cat-design-center:hover .hover-mask > h3 {
	padding-bottom: 20px;
}
	
.cat-design-center .hover-mask > a:last-child {
	color: black;
}
	
.cat-design-center .hover-mask > a:last-child {
	display: none;
}
}

@media (max-width: 767px) {
body div.categories-masonry .cat-design-center .category-content .hover-mask > h3 {		
	padding: 10px;
}
}

Regards