MozillaZine

Favicon stretched in URL bar

Discuss application theming and theme development.
lynchknot
 
Posts: 6253
Joined: November 4th, 2002, 7:36 pm
January 25th, 2003, 1:22 am

Post Posted January 25th, 2003, 1:22 am

I have tried different solutions but none of them are acceptable because they limit the size of the whole toolbar. Does anyone know how to fix the favicon height so it remains at 16x16 or whatever, without affecting the toolbar - allowing the toolbar to grow when using larger icons or icons and text.

cheeaun

User avatar
 
Posts: 825
Joined: November 5th, 2002, 10:55 pm
Location: Malaysia
January 25th, 2003, 5:43 am

Post Posted January 25th, 2003, 5:43 am

Since I have this kind of problem before, in Phoenity Modern, this is what I did:
Code: Select all
#page-proxy-deck,
#page-proxy-favicon,
#page-proxy-button {
width: 16px;
height: 16px;
}
Phoenity http://phoenity.com/
You should follow me on Twitter here http://twitter.com/cheeaun

bsangam
 
Posts: 31
Joined: January 14th, 2003, 5:35 am
January 25th, 2003, 7:12 am

Post Posted January 25th, 2003, 7:12 am

Lynch,

Did that work? Where we have to put this code? I mean which CSS! :)

Thanks,

Sangam.

alanjstr
Moderator

User avatar
 
Posts: 9099
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
January 25th, 2003, 8:27 am

Post Posted January 25th, 2003, 8:27 am

There are already entries in each theme for those, but they might not be in the same place. Try browser/browser.css to start.

If you want to just do it for yourself, then an entry in userChrome.css will suffice. Don't forget the !important.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files

lynchknot
 
Posts: 6253
Joined: November 4th, 2002, 7:36 pm
January 25th, 2003, 8:37 am

Post Posted January 25th, 2003, 8:37 am

This seems to work: change your page proxy deck margin values from 1 to 2 in browser.css

Code: Select all
/* ::::: page proxy icon ::::: */

#page-proxy-deck,
#page-proxy-favicon,
#page-proxy-button {
  width: 16px;
  height: 16px;
}

#page-proxy-deck {
  cursor: -moz-grab;
  margin: 2px 2px;
}

bsangam
 
Posts: 31
Joined: January 14th, 2003, 5:35 am
January 25th, 2003, 8:37 am

Post Posted January 25th, 2003, 8:37 am

I am fairly new. Can you tell me where do I put the !important.

Sangam

lynchknot
 
Posts: 6253
Joined: November 4th, 2002, 7:36 pm
January 25th, 2003, 8:40 am

Post Posted January 25th, 2003, 8:40 am

You don't need important if you edit in browser.css. It is near the bottom. This code is already there, just change the 2 values. go to - Jar > browser > browser.css

bsangam
 
Posts: 31
Joined: January 14th, 2003, 5:35 am
January 25th, 2003, 8:44 am

Post Posted January 25th, 2003, 8:44 am

Wow!

That fixed the annoying bug for me atleast. Waiting for the next release of Phoenix.

Good job folks!

Sangam

alanjstr
Moderator

User avatar
 
Posts: 9099
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
January 25th, 2003, 8:53 am

Post Posted January 25th, 2003, 8:53 am

I fixed it by setting the display to none :D
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files

lynchknot
 
Posts: 6253
Joined: November 4th, 2002, 7:36 pm
January 25th, 2003, 9:00 am

Post Posted January 25th, 2003, 9:00 am

Hey alan, can I set it to display bookmark only?

alanjstr
Moderator

User avatar
 
Posts: 9099
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
January 25th, 2003, 9:39 am

Post Posted January 25th, 2003, 9:39 am

lynchknot wrote:Hey alan, can I set it to display bookmark only?

Code: Select all
#page-proxy-favicon{ display: none !important; }
or
#page-proxy-button {  display: none !important; }


They get "stacked"
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files

lynchknot
 
Posts: 6253
Joined: November 4th, 2002, 7:36 pm
January 25th, 2003, 9:53 am

Post Posted January 25th, 2003, 9:53 am

I see that using button will not display anything. Using favicon will display bookmark sometimes or nothing at all. Is there a way to get it to always display bookmark icons?

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 4 guests