Post by chubbychub » Sat Apr 07, 2012 10:10 am

Hi, i have the banner not align to the top, it has an empty space between the menu and the banner, how can i reposition this? to the top? right below the menu bar. this is the code:
/* banner */
.banner div {
display: none;
vertical-align: top;
text-align: center;
width: 100%;
}

.banner div:first-child {
display: block;

}
.banner div img {
margin-top: 0px;
vertical-align: top;
margin-bottom: 5px;
}
Last edited by chubbychub on Sat Jun 23, 2012 2:17 pm, edited 2 times in total.

New member

Posts

Joined
Thu Mar 29, 2012 3:20 am

Post by florinsith » Sat Apr 07, 2012 5:01 pm

Its not a css issue. You set your banner size 500x500 and the extra space gets filled white. Resize you banner properly from admin.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by learner&coder » Sat Apr 07, 2012 6:45 pm

i want to create position for banner according to my need but i don't know how to set it. like left upper or down.

Newbie

Posts

Joined
Mon Apr 02, 2012 2:20 pm

Post by chubbychub » Sat Jun 23, 2012 2:16 pm

solved, thanks, it was the margins set in the admin panel, it was too big. thanks florinsith!!

New member

Posts

Joined
Thu Mar 29, 2012 3:20 am
Who is online

Users browsing this forum: Google [Bot] and 38 guests