ElkArte Community

Elk Development => Theme development => Topic started by: MangeCur on October 07, 2016, 07:27:07 pm

Title: Images instead of board description?
Post by: MangeCur on October 07, 2016, 07:27:07 pm
i'm interested in knowing if anyone has a bit of code/an addon/etc for boards that will replace the read/unread icon and the board description with an image of our choice. It's meant to be a role-playing board so we'd like to have previews of the "areas" that they can post in so that the players have an idea of what to go for. It should be available for main boards and sub boards ideally. I've tried looking around but it doesn't seem something like this is currently out there? Admittedly, the read/unread folders could be there and we can do it with BBC but I can't seem to get that to work either?

Example of what we'd like:
(https://s26.postimg.org/se9wnddqh/boardpreview.png)
Title: Re: Images instead of board description?
Post by: emanuele on October 08, 2016, 06:30:40 am
If it is fine to keep the board name, you could start with something like:
Code: [Select]
#board_1 .board_name:after {
    background-image: url(http://turtlebackzoo.com/wp-content/uploads/2013/01/wolf1.jpg);
    display: block;
    width: 100%;
    height: 150px;
    content: "";
    background-repeat: no-repeat;
}
Then you can add all the bells and whistles you want. ;)
Title: Re: Images instead of board description?
Post by: MangeCur on October 08, 2016, 01:21:29 pm
Thanks again, @emanuele! I'll give this a shot. :)