Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
MPStores
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!
 
foxtrotdomains.com
foxtrotdomains.com
Yes I too would be interested in this.
Can you tell me how to change background colour in the non custom blocks?
 
Thanks
 
MPStores
MPStores
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
TOCDCO
You would do it by entering custom html code in each box... that's what I do...
 
MPStores
MPStores
I already tried that but it just ignores the backround color command..
 
Monk
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
MPStores
Indeed its working! Thank you very much for you great help Monk!
 
mltsy (Guest)
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!
 
foxtrotdomains.com
foxtrotdomains.com
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
TOCDCO
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.