Branded admin bar collapses after login

Discussion about MagicEdit features, modules, applications, and HowTos.

Branded admin bar collapses after login

Postby sandyhon! » Tue Jul 03, 2012 10:28 pm

Originally I had a repeat-x jpg for the background on the admin bar (.me_bar). It appeared correctly on all pages. I then replaced it with a no-repeat transparent png (my logo text) plus hex color. It appears fine on the main page, but once I login the background bar collapses.
Attachments
Screen shot 2012-07-03 at 10.12.46 PM.png
page before login
Screen shot 2012-07-03 at 10.12.46 PM.png (49.07 KiB) Viewed 1577 times
Screen shot 2012-07-03 at 10.13.16 PM.png
page after login
Screen shot 2012-07-03 at 10.13.16 PM.png (48.89 KiB) Viewed 1577 times
sandyhon!
 
Posts: 18
Joined: Sun Jun 24, 2012 5:24 pm

Re: Branded admin bar collapses after login

Postby vitaliy » Fri Jul 06, 2012 4:08 pm

Hello sandyhon.
I'm glad that you're taking MagicEdit further and experimenting with customizing it. It's very cool.
It looks like you adding your image as a background image with css. Because .me_bar does not have a fixed height, it changes based on the content that's inside of it. That's why you see the size changes when you're logged in.

Here what you can try to do to fix it:
Add a fixed height to .me_bar using your css. (the content will stay at the top, so you might need to adjust the padding a little to put it in the middle).

I hope it'll work for you. Let me know if you have any more problems styling it and I would be glad to help you.
vitaliy
 
Posts: 9
Joined: Tue Apr 12, 2011 3:30 pm

Re: Branded admin bar collapses after login

Postby sandyhon! » Mon Jul 09, 2012 10:37 am

Thanks! That did the trick.
sandyhon!
 
Posts: 18
Joined: Sun Jun 24, 2012 5:24 pm


Return to MagicEdit Discusson

Who is online

Users browsing this forum: No registered users and 1 guest

cron