XF 2.2 How to add seperate block images of forum homepage and settings page?

TheMasso

Member
The same block images that I made for only categories are showing on settings page too. I really want to remove it and seperate them from eachother. How can I do this? Thanks.
 

Attachments

  • SS-1.png
    SS-1.png
    168 KB · Views: 18
  • SS-2.png
    SS-2.png
    35.2 KB · Views: 18
Solution
The style property is applied but not the custom css in extra.less :unsure:
Try this code to see if it is applied
Less:
.block--category .block-header {
    background: red;
}
If you mean by custom settings in Style Properties of Block settings, I revert back to default by clicking the tick box and tried the code you gave me but images are not appearing.

Now, I tried the code again and it's still not working.

Edit: I removed the .block-category from the line, it worked but still showing up on the settings, users online page tabs.
 

Attachments

  • Blocks.png
    Blocks.png
    61.8 KB · Views: 9
  • Code.png
    Code.png
    50.2 KB · Views: 9
  • Image.png
    Image.png
    72.2 KB · Views: 6
Less:
.block--category .block-header {
    background: url("https://i.imgur.com/lXDEn06.png");
}

But you should host the image on your own server rather than a third party service like imgur
 
Oh, I really missed a put dot in the beginning of the last code you gave me. :ROFLMAO: It's working now. Thank you so much for your help. So I want to apply another header image to sidebar widgets. What do I need to change for this time?
 
Back
Top Bottom