- Posts: 14116
- Thank you received: 1639
Image Position in Module
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
12 years 1 month ago #27165
by ivan.milic
Replied by ivan.milic on topic Image Position in Module
I see it works that is padding around designation module position
Please Log in to join the conversation.
-
Naisly
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
12 years 1 month ago #27172
by Naisly
Replied by Naisly on topic Image Position in Module
1. I did as you suggested:
Once I did this, all my modules lost their padding. And the Hot Designation's text is pushed up to the left.
2. So You suggested this, which I tried on Hot Designation as well as many other modules. It did not fix the issue in either case.
So now I'm left with all my modules out of place or remove Hot Designation.
In template_css.css:
div.moduletable div, div.moduletable td {
padding: 0 10px;
}
cahnge padding to 0
padding:0;
Once I did this, all my modules lost their padding. And the Hot Designation's text is pushed up to the left.
2. So You suggested this, which I tried on Hot Designation as well as many other modules. It did not fix the issue in either case.
add suffix to module with first blank char like this, example advert1:
" adv1_class"
then at template_css.css at bottom add:
.adv1_class{
padding:10px;
}
So now I'm left with all my modules out of place or remove Hot Designation.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #27179
by ivan.milic
Replied by ivan.milic on topic Image Position in Module
return
div.moduletable div, div.moduletable td {
padding: 0 10px;
}
that open modules/mod_hot_designation/tmpl/hot_designation.css
add !important to each css property:
example:
.hjt-gallery-list-item-thumb /*td*/ {
padding:0px 5px 0 5px;
}
to:
.hjt-gallery-list-item-thumb /*td*/ {
padding:0px 5px 0 5px!important;
}
div.moduletable div, div.moduletable td {
padding: 0 10px;
}
that open modules/mod_hot_designation/tmpl/hot_designation.css
add !important to each css property:
example:
.hjt-gallery-list-item-thumb /*td*/ {
padding:0px 5px 0 5px;
}
to:
.hjt-gallery-list-item-thumb /*td*/ {
padding:0px 5px 0 5px!important;
}
Please Log in to join the conversation.
Time to create page: 0.087 seconds