Vaei Posted June 10, 2019 Share Posted June 10, 2019 This website has features close to what I want. Namely, there is a title/menu bar that remains at the top of the page, the website is a single page, and when clicking an item in the portfolio it changes the gallery to focus on that item (or if its just an image, it pops it up) https://demo.cocobasic.com/cardea-html/demo-2/ Link to comment Share on other sites More sharing options...
Gideon So Posted June 10, 2019 Share Posted June 10, 2019 Hi @Vaei, You can do this by adding a css style to the head bar. HTML <header class="fixed-top"> Your menu here </header> CSS .fixed-top { position: fixed; top: 0; } Gideon Link to comment Share on other sites More sharing options...
Vaei Posted June 10, 2019 Author Share Posted June 10, 2019 Hi @Gideon So thanks, but that only pushed it to the top of the page, when I scroll it doesn't stay on the screen Link to comment Share on other sites More sharing options...
Vaei Posted June 10, 2019 Author Share Posted June 10, 2019 Edit: position: fixed instead of position: absolute was the ticket (Can't edit my post) Link to comment Share on other sites More sharing options...
Gideon So Posted June 10, 2019 Share Posted June 10, 2019 Hi @Vaei, Oh. Yeah. I was on the bus when typing. Glad that you make it right yourself. Gideon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now