Template not functioning correctly

More
13 years 10 months ago #18707 by Jan Harmening
Thanks Ivan!

I do know how to set the style for H3 - H5 but I dont know how to set the style for the border of the pictures/images. Can you give me the html code? (to find the code for the right color is not the problem)

Please Log in to join the conversation.

More
13 years 10 months ago #18722 by ivan.milic
Well it is:

.item IMG, .item-page IMG{
border: 3px solid #000000!important;
}

this is for images inside of articles in j2.5.
You can put that at bottom of template_css.css

Please Log in to join the conversation.

More
13 years 10 months ago #18869 by Jan Harmening
Now the problem is, that all images border automaticly 3px and in that color.
But sometimes I would like to have a border and sometimes not.
If I open "Insert/Edit Image" there is normally the posibillity to change the border (but unfortunately not the color, than this problem would not be).
But now iff I set the Border "0", the border is still displayed with 3px.
So, what do do?

Please Log in to join the conversation.

More
13 years 10 months ago #18882 by ivan.milic
send link

Please Log in to join the conversation.

More
13 years 10 months ago #18893 by Jan Harmening

Please Log in to join the conversation.

More
13 years 10 months ago #18901 by ivan.milic
template_css.css:

.item img, .item-page img {
border: 3px solid #666 !important;
}

remove !important

Please Log in to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum