Adding a new button to header

General Support for technical Issues relating to AlegroCart
GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Adding a new button to header

Post by GAGF » Mon Apr 30, 2012 5:34 pm

Followed the steps listed here to install new button at the top of header. This works but puts the button below my home button. The button i created was a button that when clicked takes you back to forum. How can i fix this where there is just one row of buttons and not 1 below the home button

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Adding a new button to header

Post by leo » Tue May 01, 2012 1:07 am

You have to change the width of the #bar as described:

Code: Select all

4. change the width of #bar in the default css files if needed.
AC has 2 default.css files!

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:07 am

i cant seem to find css anywhere :x

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:33 am

this is the only thing i found in /admin/template/default/css

Code: Select all

#bar {
    background-color: #0099FF;
    border-top: 1px solid #CCCCCC; 
    border-bottom: 1px solid #CCCCCC;
    padding: 3px 3px 0px 10px;
    height: 24px;

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:35 am

1 more question, i uploaded my own flash banner it was 728x90 . after it was uploaded it was the size of like 500 x300 how could i fix that to where it is original size 728x90

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Adding a new button to header

Post by leo » Wed May 02, 2012 12:39 am

Try here:
/catalog/styles/default/css2/default.css
/catalog/styles/default/css3/default.css

Have you set the Flash Width an Height in admin to728x90?

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:41 am

leo wrote:Try here:
/catalog/styles/default/css2/default.css
/catalog/styles/default/css3/default.css

Have you set the Flash Width an Height in admin to728x90?
i didn't change anything , just uploaded my flas banner. How could i do this?

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:45 am

This code

Code: Select all

#bar {
	position: absolute;	
	border-top: 1px; 
	border-bottom: 1px; 
	padding: 0px 3px 0px 10px;
	height: 30px;
	width: 600px; 
	top: 80px;
	left: 210px;
	white-space: normal;	
	z-index: 10;	
What part do i change, i have made the width wider , no change

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Adding a new button to header

Post by leo » Wed May 02, 2012 12:50 am

Increase width in both default.css file.

Try admin/configuration/home page modul to add and set flash.

GAGF
Posts: 16
Joined: Mon Apr 30, 2012 5:32 pm

Re: Adding a new button to header

Post by GAGF » Wed May 02, 2012 12:51 am

leo wrote:Increase width in both default.css file.
Does not work

Post Reply