Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2022
    Location
    Iowa
    Posts
    20

    Default Mobile Nav Bar Question

    I would to try to make a nav bar for mobile with the bar going across and top the screen like the example in the photo. Is this possible with xara?
    (photos is just something i drew up to show a visual) Click image for larger version. 

Name:	Untitled-1.jpg 
Views:	54 
Size:	121.9 KB 
ID:	131589

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,780

    Default Re: Mobile Nav Bar Question

    Group your hamburger button and header bar, and Utilities > Web Sticky/Stretchy > Sticky (radio button)
    Copy the group
    Create a new layer and name it menu(lock)
    Paste in place the button and header bar group, and Utilities > Web Properties > Link (tab) and type popup:close in the Link To Web Or Email Address box. Hide the menu layer.
    Select MouseOff from the Page and Layer Gallery and select the hamburger group, and Utilities > Web Properties > Link (tab) > Pop-Up Layer (radio button) > drop down the box and choose Menu(lock) from the list

    Show the menu(lock) layer in the Page and Layer Gallery and select the layer. Add any links you want and make them sticky.

    >>> Menu Lock Bar.xar

  3. #3
    Join Date
    Feb 2022
    Location
    Iowa
    Posts
    20

    Default Re: Mobile Nav Bar Question

    Quote Originally Posted by Chris M View Post
    Group your hamburger button and header bar, and Utilities > Web Sticky/Stretchy > Sticky (radio button)
    Copy the group
    Create a new layer and name it menu(lock)
    Paste in place the button and header bar group, and Utilities > Web Properties > Link (tab) and type popup:close in the Link To Web Or Email Address box. Hide the menu layer.
    Select MouseOff from the Page and Layer Gallery and select the hamburger group, and Utilities > Web Properties > Link (tab) > Pop-Up Layer (radio button) > drop down the box and choose Menu(lock) from the list

    Show the menu(lock) layer in the Page and Layer Gallery and select the layer. Add any links you want and make them sticky.

    >>> Menu Lock Bar.xar
    Thanks Chris M.
    When I went to preview my site the logo is not at the top. How do I fix that?Click image for larger version. 

Name:	Untitled-1.jpg 
Views:	54 
Size:	58.9 KB 
ID:	131604
    Last edited by TSinIowa; 27 February 2022 at 04:04 AM.

  4. #4
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,780

    Default Re: Mobile Nav Bar Question

    Hard to tell from the screenshot.

    Logo should be on MouseOff layer. Push it upwards until it looks nice under the header bar. It will scroll under the header when you move down the page, and will be covered when the menu is shown.

    If you want to display the logo with the menu, simply copy it, then paste it wherever you want it on the menu(lock) layer.

  5. #5
    Join Date
    Feb 2022
    Location
    Iowa
    Posts
    20

    Default Re: Mobile Nav Bar Question

    Quote Originally Posted by Chris M View Post
    Hard to tell from the screenshot.

    Logo should be on MouseOff layer. Push it upwards until it looks nice under the header bar. It will scroll under the header when you move down the page, and will be covered when the menu is shown.

    If you want to display the logo with the menu, simply copy it, then paste it wherever you want it on the menu(lock) layer.
    I moved the logo at the top of the mouseoff layer, and it is still doing it. Click image for larger version. 

Name:	Untitled-1.jpg 
Views:	49 
Size:	246.9 KB 
ID:	131606

  6. #6
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,780

    Default Re: Mobile Nav Bar Question

    When you move the logo (the 2 graphics) up, to below the menu bar, it jumps back down again?

    I'm not visualising this correctly, or I'm not explaining very well. I didn't mean push the logo upwards in the Page and Layer Gallery. I meant select both graphics on the page.

    If that's what you're doing, we may need to see the .xar/.web to work out what's going on.

  7. #7
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,780

    Default Re: Mobile Nav Bar Question

    Like this.

    Click image for larger version. 

Name:	RRP.jpg 
Views:	47 
Size:	114.0 KB 
ID:	131608

  8. #8
    Join Date
    Feb 2022
    Location
    Iowa
    Posts
    20

    Default Re: Mobile Nav Bar Question

    Quote Originally Posted by Chris M View Post
    Like this.

    Click image for larger version. 

Name:	RRP.jpg 
Views:	47 
Size:	114.0 KB 
ID:	131608
    Chris, is there away I can edit the pages without drop downs showing? I know i can hide them but when i preview the page, the drop down doesn't work of course.

  9. #9
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,780

    Default Re: Mobile Nav Bar Question

    Hiding (eye icon) the layers doesn't affect the preview. they are only hidden in edit mode.

    Go ahead and hide the layer, move your logo and then preview.

  10. #10
    Join Date
    Feb 2022
    Location
    Iowa
    Posts
    20

    Default Re: Mobile Nav Bar Question

    Quote Originally Posted by Chris M View Post
    Hiding (eye icon) the layers doesn't affect the preview. they are only hidden in edit mode.

    Go ahead and hide the layer, move your logo and then preview.
    That worked! Thanks!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •