Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Responsive image within a floating sidebar

Featured Replies

Hello!

 

I've not posted on here for seemingly years but I have a random problem that I am struggling with and I am hoping some kind soul can point me in the right direction!

 

Well, I am settign up a one page site for someone and I want to have the navigation and image in the left side always remain in the top left as a floating sidebar when the site scrolls down. I also want the site to be responsive. I have set up positioning as relative and absolute and the image is sized at 100% width to stay within the #left hand side. However when scrolling down the image reverts to it's original full size.

 

Do anyone know of a fix to get around this? I would be much appreciative of any pointers please. Here is the site: http://www.daycaredoncaster.co.uk/test/ and the css: http://www.daycaredoncaster.co.uk/test/style.css

 

Thanking you in advance

 

John

  • Author

Would really appreciate it if someone could offer even a small clue as to what I am missing here.

 

Thanks

 

John

Edited by lincolnimp

Hi John,

 

On an unrelated note, have you looked at any responsive grid systems? They're very useful for this kinda thing. I would also advise against using tables for non-tabular data, though I guess that is down to preference. It would make it easier to find a solution in this case. :)

 

For me, the question wasn't 100% clear here - though I'll hazard a guess and assume you want the logo (and navigation?) to change in size on scroll. Could you clarify this for me please?

 

Jak

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.