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.

css navigation how to get it change whole background not just text

Featured Replies

I'm making a side navigation but can't for the life of me remember how to get it so that the whole 'box' changes colour its hover status.

at the moment on the text of the link changes it's background colour. Also I've added a bottom border to the links and they're only as long as the text too I want them to be the 150px that the sidebar is...

 

any help would be gratefully appreciated...

Hi Stu, could you post a bit of html/css or a link to a live version?

Chances are that setting the link to display:block will make it fill it's container (list item or sidebar) but seeing your existing code will make it easier to say.

  • Author
Hi Stu, could you post a bit of html/css or a link to a live version?

Chances are that setting the link to display:block will make it fill it's container (list item or sidebar) but seeing your existing code will make it easier to say.

Hi ElanMan,

 

display:block was the cuplrit...thanks for your help!!

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.