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.

How to get rid of horizontal scroling?

Featured Replies

Hello!

I wanted to make a background image being fully visible in all resolutions. It was suggested to me to use this code to achieve it:

body {background:none !important;}
.header-outer { background: #fff url(http://idevsky.com/images/1.jpg) no-repeat
center center;background-size: contain;width: 100vw;height: calc(100vw / 1.5);}

It does show the image the way I want, but there's an unwanted "side-effect" to it for some reason. Now I get a small horizontal scrolling. So my question is how to avoid it? Here's the site's URL:

http://idevsky.com

It seems it's the grey bottom footer causing it by having a margin-right value of -230px set in joomlaplates.css

.footer-outer {
    position: relative;
    z-index: 0;
    padding: 20px 0;
    color: #fff;
    margin-right: -230px;
}
  • Author

 

It seems it's the grey bottom footer causing it by having a margin-right value of -230px set in joomlaplates.css

.footer-outer {
    position: relative;
    z-index: 0;
    padding: 20px 0;
    color: #fff;
    margin-right: -230px;
}

Are you SURE it's there? I think I removed yesterday that margin-right: -230px; code, 'cos it was causing troubles. Now I've just doubled checked that file and I don't see it there. Maybe it's the cache in your browser? Try in another one please or just clear your current browser's cache.

Are you SURE it's there? I think I removed yesterday that margin-right: -230px; code, 'cos it was causing troubles. Now I've just doubled checked that file and I don't see it there. Maybe it's the cache in your browser? Try in another one please or just clear your current browser's cache.

 

I've never visited the site before I clicked the link so I have a visit count of one which means there wouldn't have been any cached files.

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.