- Posts: 17
- Thank you received: 0
Advert1 width module adjustment ??
-
webemonster
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 2 days ago #26435
by webemonster
Advert1 width module adjustment ?? was created by webemonster
I switch the HOT Effects Rotator (advert1) to HOT Full Carousel (advert1) and the width did not adjust automatically. I did some adjustments and no changes. Can you help me with the proper coding to get module to work properly. Check picture.
Also there is a line as seen on the picture can you tell me how to take it out.
Thanks. /JB
Also there is a line as seen on the picture can you tell me how to take it out.

Thanks. /JB
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 days ago #26439
by ivan.milic
Replied by ivan.milic on topic Advert1 width module adjustment ??
Can I see your link - please?
Please Log in to join the conversation.
-
webemonster
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
12 years 2 days ago - 12 years 1 day ago #26440
by webemonster
Replied by webemonster on topic Advert1 width module adjustment ??
Great timing. 
The goal is to give it the look like the cinema template. Thanks. /jb

The goal is to give it the look like the cinema template. Thanks. /jb
Last edit: 12 years 1 day ago by webemonster.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 day ago - 12 years 1 day ago #26448
by ivan.milic
Replied by ivan.milic on topic Advert1 width module adjustment ??
Open:
/modules/mod_hot_full_carousel/tmpl/style.css
find:
.hero {
width: 100%;
position: relative;
overflow: hidden;
margin-bottom: 30px;
}
remove overflow: hidden;
then add this at bottom:
.hero h2{
background:none!important;
}
open:
modules\mod_hot_full_carousel\tmpl\default.php
find this:
var shadeWidth = (bodyWidth-996)/2;
replace with:
var shadeWidth = (bodyWidth-912)/2;
EDIT TO add black bars:
add to /modules/mod_hot_full_carousel/tmpl/style.css:
.shade_left{
border-right:20px solid black;
}
.shade_right{
border-left:20px solid black;
}
and
var shadeWidth = (bodyWidth-952)/2;
note that 952 = 912 + 20 + 20
/modules/mod_hot_full_carousel/tmpl/style.css
find:
.hero {
width: 100%;
position: relative;
overflow: hidden;
margin-bottom: 30px;
}
remove overflow: hidden;
then add this at bottom:
.hero h2{
background:none!important;
}
open:
modules\mod_hot_full_carousel\tmpl\default.php
find this:
var shadeWidth = (bodyWidth-996)/2;
replace with:
var shadeWidth = (bodyWidth-912)/2;
EDIT TO add black bars:
add to /modules/mod_hot_full_carousel/tmpl/style.css:
.shade_left{
border-right:20px solid black;
}
.shade_right{
border-left:20px solid black;
}
and
var shadeWidth = (bodyWidth-952)/2;
note that 952 = 912 + 20 + 20
Last edit: 12 years 1 day ago by ivan.milic.
The following user(s) said Thank You: webemonster
Please Log in to join the conversation.
-
webemonster
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
12 years 1 day ago #26471
by webemonster
Replied by webemonster on topic Advert1 width module adjustment ??
I did the changes and all works fine. Thanks for the prompt reply.
Please Log in to join the conversation.
Time to create page: 0.175 seconds