
|
 |
 |
|
 |
|
MPStores
|
|
|
|
|
|
Hello guys, 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!
|
|
| |
|
Riyaz (Guest)
|
|
|
|
|
|
Yes I too would be interested in this. Can you tell me how to change background colour in the non custom blocks? Thanks
|
|
| |
|
MPStores (Guest)
|
|
|
|
|
|
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..
|
|
| |
|
Dan (Guest)
|
|
|
|
|
|
You would do it by entering custom html code in each box... that's what I do...
|
|
| |
|
MPStores (Guest)
|
|
|
|
|
|
I already tried that but it just ignores the backround color command..
|
|
| |
|
Monk
|
|
|
|
|
|
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 <div style="background-color: silver;">some text</div>
|
|
| |
|
MPStores (Guest)
|
|
|
|
|
|
Indeed its working! Thank you very much for you great help Monk!
|
|
| |
|
mltsy (Guest)
|
|
|
|
|
|
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!
|
|
| |
|
Riyaz (Guest)
|
|
|
|
|
|
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
|
|
| |
|
Dan (Guest)
|
|
|
|
|
Seriously, I've found it easiest to use html coding for each individual custom block... Example given: http://extremeonlineshopping.com It's easiest that way for me as I can just update the custom block and it works.
|
|
| |
|
|
|