Closed (fixed)
Project:
The Morning After
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 00:13 UTC
Updated:
18 Jul 2011 at 23:42 UTC
TMA is a very great,, but unfortunately I am lost with the html-element.css and the tma.css.
My problem mut be easy: I want a border for the image of the main content and only that (no border for the image of the others sidebars).
So I've got in html-elements.css:
.img { border: 2px solid #a79974; margin-top: 0.909em; margin-bottom: 0.909em; margin-left: 0.909em; margin-right: 0.909em; }
and tried different things, but not the right ones so I need help, when possible :)
Comments
Comment #1
komal.savla commentedHi,
1. Instead of changing the css in html-element.css or the tma.css, create your custom css file say 'local.css' and add following style to add the border to the images on the main content only:
2. Add following code in 'tma.info' file :
3. Clear cached data. here - admin/config/development/performance
Thanks,
Komal
Comment #2
detorped commentedHello again
it works perfectly, I should have thought about this easy solution.
Thanks a lot! நன்றி !