Is there any way to define background color for each "custom" block individually.
I tried many methods, i removed the class ".block"
from the block_custom.html, but still it just ignores the html code for background color.
Any solution?
Thanks in advance!
foxtrotdomains.com
7 May 2008 11:34 AM
Yes I too would be interested in this.
Can you tell me how to change background colour in the non custom blocks?
Thanks
MPStores
7 May 2008 10:51 PM
For the "non-custom" blocks you can find the values of the blocks in your CSS file.
What i m asking is if i can change backround colors for each "Custom" block i create through the admin panel.
If i change it through CSS value it will be the same for all the "custom" blocks..
TOCDCO
8 May 2008 1:11 AM
You would do it by entering custom html code in each box... that's what I do...
MPStores
8 May 2008 10:27 AM
I already tried that but it just ignores the backround color command..
Monk
8 May 2008 10:56 AM
Please keep in mind that here two templates used for custom blocks:
block_simple.html - without header title
block_custom.html - in case you are specifed title for your block
And in case if you want to have a full control over your custom block just go to block_simple.html template remove the all content from it and leave only template tag {custom_body} there.
Then go to custom blocks and create some new block like
Indeed its working! Thank you very much for you great help Monk!
mltsy (Guest)
9 May 2008 3:29 PM
Very helpful to know, indeed! I wanted to just add an image to a few pages - and this works perfectly. If I want a typical-looking custom block, I just give it a title, if I want to make my own block entirely, I just leave the title out. Nice work!
foxtrotdomains.com
9 May 2008 8:41 PM
So I am new to this stuff, can you guys guide me with a bit more detail please.
Where will I find these block files, and where, what and how to do the changes to achieve this effect?
Appreciate it a lot. Just give me a little more info in detail please.
Thanks
TOCDCO
12 May 2008 7:13 AM
Seriously, I've found it easiest to use html coding for each individual custom block...