AYLD Posted August 31 Share Posted August 31 Hi, I copied CSS code to switch to a vertical navigation bar which worked fine, however I'm having a few issues with my logo and page placement. I would like to move my logo more aligned to the left side of the screen and my logo currently is overlapping the links to the different pages which I want to change: see photo. Also this is the code I used for the vertical nav bar. Do I change anything here to adjust these things? /* Float header */ @media screen and (min-width:992px) { .header-title { position: fixed; top: 3vw; left: 5vw; z-index: 9999; } .header-nav { position: fixed; top: 30%; left: 4vw; padding: 0 !important; transform: translateY(-50%); } nav { flex-direction: column; } div.header-nav-item { margin: 0 !important; text-align: left !important; } div.header-nav-item a{ display: inline-block; } .header-actions.header-actions--right { position: fixed; left: 5vw; bottom: 2vw; justify-content: flex-start !important; } .header-actions--right .header-actions-action a { margin-left: 0 !important; margin-right: 2.5vw; } #page article section { max-width: 75%; margin-left: 25%; padding-top: 0 !important; } } Link to comment
Lesum Posted August 31 Share Posted August 31 @AYLD Would it be possible to share your site URL so I can take a look? Thanks! If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
AYLD Posted September 1 Author Share Posted September 1 16 hours ago, Lesum said: @AYLD Would it be possible to share your site URL so I can take a look? Thanks! Oops sorry, it's https://annabelledelhallephotography.com/portfolio I think I managed to get the logo centred, however the logo still overlaps the links to the pages.. Link to comment
tuanphan Posted September 3 Share Posted September 3 Don't remove any code in CSS code, add this under to prevent overlap @media screen and (min-width:992px) { .header-nav { top: 50% !important; transform: translateY(-50%) !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment