Thank you @Jordyn I'm going to try that right now.like this?
View attachment 185428
If so. Add to extra.less replacing the X with your ID.
Code:.block.block--category.block--categoryX .block-container .block-header { background-image: url('/images/thisimage.jpg'); background-repeat: no-repeat; background-position: center; }
No worries mate, good work . Cheers
/* Categories Images and Title */
.block--categoryX .block-header {
background-image: url('/images/cover-line-pay.jpg');
background-repeat: no-repeat;
background-position: center;
height: 60px;
text-transform:;
font-weight: bold;
font-size: 20px;
font-family: cursive;
color: #FFF;
text-shadow: black 0.1em 0.1em 0.2em;
}
/**********/
/* Categories Descriptions */
.block--categoryX .block-desc {
color: #000;
text-transform:;
font-family: monospace;
text-shadow:
-1px -1px 0 #FFF,
1px -1px 0 #FFF,
-1px 1px 0 #FFF,
1px 1px 0 #FFF;
}
/**********/
This works even better. Gives many options, including the size! Absolutely digging and loving it. Thank you again @Jordyn. I'm sure others will enjoy this too!No worries mate, good work . Cheers
You can certainly have some fun with this.
View attachment 185431
This is my updated code just encase others are interested for default style.
Code:/* Categories Images and Title */ .block--categoryX .block-header { background-image: url('/images/cover-line-pay.jpg'); background-repeat: no-repeat; background-position: center; height: 60px; text-transform:; font-weight: bold; font-size: 20px; font-family: cursive; color: #FFF; text-shadow: black 0.1em 0.1em 0.2em; } /**********/ /* Categories Descriptions */ .block--categoryX .block-desc { color: #000; text-transform:; font-family: monospace; text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF; } /**********/
Thanks for the kind words mate, but i have to remove the height and add margins instead, as the height stuffs everything up on mobile.This works even better. Gives many options, including the size! Absolutely digging and loving it. Thank you again @Jordyn. I'm sure others will enjoy this too!
ok you really went the extra mile ..cheersThanks for the kind words mate, but i have to remove the height and add margins instead, as the height stuffs everything up on mobile.
Will be back shortly with the fix
Haha, yep Hope this works better, the height is there. Cheers mate: https://xenforo.com/community/resources/add-images-to-category-strips-per-category-id.6740/ok you really went the extra mile ..cheers
hello, what if I have multiple categories?like this?
View attachment 185428
If so. Add to extra.less replacing the X with your ID.
Code:.block.block--category.block--categoryX .block-container .block-header { background-image: url('/images/thisimage.jpg'); background-repeat: no-repeat; background-position: center; }
Thank you for this.like this?
View attachment 185428
If so. Add to extra.less replacing the X with your ID.
Code:.block.block--category.block--categoryX .block-container .block-header { background-image: url('/images/thisimage.jpg'); background-repeat: no-repeat; background-position: center; }
We use essential cookies to make this site work, and optional cookies to enhance your experience.