1
goffy
Block background
  • 2016/1/11 6:18

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


I have a wish to our core developers:

I have created my latest websites as real onepage-website, and I am using only blocks to provide all information/functionallities.
If I want to have a striped design or different backgrounds for the different blocks, I solved it at the moment in the way, that I defined diffent backgrounds for the block groups (e.g. left blocks = grey, top left block = white, top center block = dark grey, top right block = white, and so on...)
But now I can only but one block in one area.
It would be helpful, if it would be possible to define for each block himself the background when editing the block properties/options (like weight, visible in...)

I hope, its clear, what I mean

2
Bleekk
Re: Block background
  • 2016/1/11 7:36

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Hi Goffy,

I use custom class names for blocks in the block-title.
My title looks then like "classname|Blocktitle".

With smarty you can then get everything before | as the css class and behind | is the blocktitle.

Also you can use the block.id as the classname.

I hope it helps you

3
goffy
Re: Block background
  • 2016/1/11 13:55

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


hi bleekk, yes, of course.

But a property/option solution would be quite nicer
and can be used by everyone, also dummies

4
Mamba
Re: Block background
  • 2016/1/19 9:49

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Could you please submit a request on GitHub?

That would be very helpful, so we don't lose this idea...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

404 user(s) are online (288 user(s) are browsing Support Forums)


Members: 0


Guests: 404


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits