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 alignment menu bar

Featured Replies

Hey guys,

 

I'm going completely crazy... I'm trying to edit a wordpress theme so that the responsive menu button will appear next to the site logo/title. Or basically it should remain where it actually is... With the current css it moves below the title, which I think is a waste of screen estate.

 

It might be tiredness, but I can't find the error in the css. What am I doing wrong?

nav.html

style.css

  • Author

i have found the solution. Somewhere an overlooked width: 100%; was causing troubles. I've solved the issue of the button not being able to live next to the title.

 

But then a second issue arose... Now that I have the menu width set to 100px, the nested menu items are also 100px wide. But I'd like those the full width of the page. I've tried several options, but I'm not sure how to do this in the right css manner.

 

Since I'm often rambling here's what i mean

__________________________

| Title Menu |

| Menu item 1 full |

| Menu item 1 full |

| Menu item 1 full |

 

as opposed to

__________________________

| Title Menu |

| Item |

| Item |

| Item |

Edited by PietPuk

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.