- Posts: 38
- Thank you received: 0
Template not functioning correctly
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
12 years 7 months ago #18707
by Jan Harmening
Replied by Jan Harmening on topic Re: Template not functioning correctly
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)
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18722
by ivan.milic
Replied by ivan.milic on topic Re: Template not functioning correctly
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
.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.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
12 years 6 months ago #18869
by Jan Harmening
Replied by Jan Harmening on topic Re: Template not functioning correctly
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?
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #18882
by ivan.milic
Replied by ivan.milic on topic Re: Template not functioning correctly
send link
Please Log in to join the conversation.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
12 years 6 months ago #18893
by Jan Harmening
Replied by Jan Harmening on topic Re: Template not functioning correctly
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #18901
by ivan.milic
Replied by ivan.milic on topic Re: Template not functioning correctly
template_css.css:
.item img, .item-page img {
border: 3px solid #666 !important;
}
remove !important
.item img, .item-page img {
border: 3px solid #666 !important;
}
remove !important
Please Log in to join the conversation.
Time to create page: 0.080 seconds