Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Layout fixed and fixed up bug

10 Apr 2015, 12:49

I'm testing 0.91 and I've set the layout to fixed since I want the menu bar to stay visible.

In office using a mac, this does work with Chrome and Firefox latest. At home using windows the menubar doesn't fix using firefox and chrome latest. There's no way to fix it to the top of the screen.

Bug or I'm doing something wrong?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: Layout fixed and fixed up bug

10 Apr 2015, 23:44

I am currently away from office so only on Mac here ... Could you post the link to your website so we can take a look on Windows and Mac?

This issue has not been reported earlier.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Layout fixed and fixed up bug

11 Apr 2015, 04:26

 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Layout fixed and fixed up bug

12 Apr 2015, 05:22

Quite incredibly I say you that the navbar fixed works perfectly in Internet Explorer 11 :shock: but in firefox and chrome latest doesn't.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: Layout fixed and fixed up bug

13 Apr 2015, 00:44

I believe you are experiencing random problems with this because you are using an IMAGE for the logo. The menu needs to calculate its own size (height) for the fixed-property to work properly, and this may be dysfunctional if the logo did not yet load. Are you adding the logo image from the custom/logo/ page? Try adding fixed width/height (284 x 136) attributes, something like this:
Code
<a href="/" class="logo logo-image m pad1" style="min-height: 50px;"><img src="/content/custom/logo/logokog2015.png" alt="KOG Gallery - La nostra storia" width="284" height="136" /></a>
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Layout fixed and fixed up bug

13 Apr 2015, 03:32

Yes, I've added the logo through the Logo page. I'll try to add the image dimensions as you suggest and I'll let you know. Thanks!
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Layout fixed and fixed up bug

13 Apr 2015, 16:53

I'm asking other people to test the fixed topbar since now I'm at home and I'm not able to see the bar fixing at the top with Chrome and FF under W8. I'll let you know.