Moving the Toolbar down to accommodate a banner

1 view
Skip to first unread message

Scott Finkelstein

unread,
Dec 8, 2009, 9:16:29 AM12/8/09
to iPhoneWebDev
I created my own theme (using the included ipdc theme as a starting
point), and seem to be hitting a roadblock in moving the toolbar down
about 45px to accommodate a banner for my mobile app. I've even tried
copying the toolbar css declaration from the main iui.css file into my
theme css to override the positioning, but nothing seems to work. Has
anyone had any success with this?

Thanks in advance!

- Scott

Remi Grumeau

unread,
Dec 8, 2009, 11:59:25 AM12/8/09
to iphone...@googlegroups.com
In order to keep the toolbar on top of the content and disable its sliding with the rest of the page, its position is absolute.
So if you change the top value of the #toolbar, you should change the margin of the rest also :)
see body > *@[not:toolbar] … at least afair

> --
>
> You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
> To post to this group, send email to iphone...@googlegroups.com.
> To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
>
>


Remi Grumeau
(+33) 663 687 206
http://www.remi-grumeau.com

Scott Finkelstein

unread,
Dec 8, 2009, 12:27:28 PM12/8/09
to iPhoneWebDev
That worked great! Thanks!
> > For more options, visit this group athttp://groups.google.com/group/iphonewebdev?hl=en.
>
> Remi Grumeau
> (+33) 663 687 206http://www.remi-grumeau.com
>
>  smime.p7s
> 2KViewDownload
Reply all
Reply to author
Forward
0 new messages