Advert1 width module adjustment ??

More
11 years 11 months ago #26435 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
Attachments:

Please Log in to join the conversation.

More
11 years 11 months ago #26439 by ivan.milic
Can I see your link - please?

Please Log in to join the conversation.

More
11 years 11 months ago - 11 years 11 months ago #26440 by webemonster
Great timing. :)



The goal is to give it the look like the cinema template. Thanks. /jb
Last edit: 11 years 11 months ago by webemonster.

Please Log in to join the conversation.

More
11 years 11 months ago - 11 years 11 months ago #26448 by ivan.milic
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
Last edit: 11 years 11 months ago by ivan.milic.
The following user(s) said Thank You: webemonster

Please Log in to join the conversation.

More
11 years 11 months ago #26471 by webemonster
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.164 seconds
Powered by Kunena Forum