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.

Help needed pls - simple static bar required

Featured Replies

Hello, could someone pls help me to to create a static bar at the top of my page (purely just an aesthetic thing with no functionality). I'm not good at stuff like this so could do with some help.

 

This is my website which is wordpress theme I modified a bit which requires the bar.

 

www.avid-photography.co.uk

 

This is a visual of what I'm aiming to achieve (see attached). Just a simple line at the top which brings it in line with the rest of my branding.

 

 

Untitled.jpg

 

 

Thanks guys!

  • Author

Hi Robby, many thanks for taking your time out to help.

 

A very nearly there except there seems to be a very slight gap between the top of the page and the blue bar.

 

Also the bar has a slight bevel. I tried playing around to remove this but no joy.

 

Any ideas?

 

 

Thanks

Hi Robby, many thanks for taking your time out to help.

 

A very nearly there except there seems to be a very slight gap between the top of the page and the blue bar.

 

Also the bar has a slight bevel. I tried playing around to remove this but no joy.

 

Any ideas?

 

 

Thanks

 

Instead of hr try using

 

body{border-top-width:5px;
border-top-style:solid;
border-top-color:blue;
margin-top:0px;
padding-top:0px;}

 

 

Obviously change 'blue' to the exact colour, and change the border width to suit.

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.