Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1

    Default Movable element to the side of a page eg the menu bar

    Hi All

    Back again like a bad penny.
    I have a reactive website and need to prevent the menu bar being obscured. If its placed on the left it is fine as its the right hand side that gets obscured first. But I want the Logo on the left and the menu bar on the right.

    Is there a way to make the bar move in as the page gets smaller?


    Thanks

    Tim

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,502

    Default Re: Movable element to the side of a page eg the menu bar

    I think what you are looking for is Sticky

    Right click on the object then select Sticky/Stretchy.

    Click Help in the menu for a full description of all the options.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Sticky-Stretchy.png 
Views:	25 
Size:	21.9 KB 
ID:	129360  

  3. #3
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: Movable element to the side of a page eg the menu bar

    I have a reactive website and need to prevent the menu bar being obscured. If its placed on the left it is fine as its the right hand side that gets obscured first. But I want the Logo on the left and the menu bar on the right. Is there a way to make the bar move in as the page gets smaller?
    YES:

    The logo on the left would be made sticky and placed just to the left of the page. Your menu can sit on the page to the right (in my examples the menu is in the middle, but this makes no difference).

    You export with Scale-to-fit-Width and the page (including the menu bar) proportionally change with the browser/window size:

    Examples:https://initiostar.co.uk/ > https://hypnosis-retreat.co.uk/

    The transition takes you seamlessly from the desktop variant to a tablet/mobile variant with no overlapping and no loss of content. In the examples, the menu transitions from horizonal to vertical retaining the same style for consistency as the format moves from landscape to portrait.

    Gary

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,502

    Default Re: Movable element to the side of a page eg the menu bar

    To add to this, if you move the object off the screen and make the object sticky, then it will adhere to the edge of the screen. I have done this in the past and added a transparent rectangle to the left of the object so it is not right on the edge.

    Depending on where the object is will determine where it sticks. This is why I suggested reading the Help file in the Sticky/Stretchy menu.

  5. #5

    Default Re: Movable element to the side of a page eg the menu bar

    Thanks as always for the great support

    The menu is sticky already.

    The issue is that just before it swaps to mobile its obscured. (image below)

    I think I can resolve it by adding another size range eg tablet

    Tim

    Click image for larger version. 

Name:	stick web.PNG 
Views:	39 
Size:	5.3 KB 
ID:	129367

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,814

    Info Re: Movable element to the side of a page eg the menu bar

    The simplest solution might be to enable Stretch to Fit width. Clan and simple.

    A more complicated approach is to turn your NavBar into a responsive one (in an adaptive environment).
    I tried with CSS with some success and limitations: CSS - Stretching Menu.xar

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

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
  •