Template not functioning correctly

More
12 years 6 months ago #18913 by Jan Harmening
now I have removed !important and have following code:

.item IMG, .item-page IMG {
border: 3px solid #474747;
}

The border shoud be grey but is now black.

See on page
www.tip-reisen.de/index.php/region/asien/indischer-ozean/indien

So, what is wrong?

Please Log in to join the conversation.

More
12 years 6 months ago #18921 by ivan.milic
first image I see: you have put that style from editor:

element.style {
border: 2px solid black;
float: left;
margin-left: 20px;
margin-right: 20px;
margin-top: 5px;
margin-bottom: 5px;
}

html is:
...
<img src="/images/reiseziele/indien/Indien-Uttar-Pradesh-Agra-Taj-Mahal.jpg" border="0" alt="Indien-Uttar-Pradesh-Agra-Taj-Mahal" width="180" style="border: 2px solid black; float: left; margin-left: 20px; margin-right: 20px; margin-top: 5px; margin-bottom: 5px;">
...

Please Log in to join the conversation.

More
12 years 6 months ago #18956 by Jan Harmening
Hi Ivan.

Your answer does not help.

What general code shoud I put in css that the image borders are grey and I can change in the editor iff the border is shown or not - and maybe (that would be the best) I can change how thick the border is (according to the size of the image)??

Please Log in to join the conversation.

More
12 years 6 months ago #18966 by ivan.milic
you set that border using editor, so just remove it using WYSIWYG editor, if you try to override that style from css we will do nothing because we will return to post #18901

Please Log in to join the conversation.

More
12 years 6 months ago #18987 by Jan Harmening
How can I do this?
If I am in the content I only have the Editor.

How an where can I generate a general code, with the
posibillity to change the border (shown or not shown,
that would be enough) - in other words,
I would like to have a 3px grey border
with the posibillity to switch it on or out.

Please Log in to join the conversation.

More
12 years 6 months ago #18998 by ivan.milic
Editor has option to show you pop-up with image options. You first select image then you will find that in toolbox. Usually there is context menu on right click where you can also activate that popup.

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum