/    Sign up×
Community /Pin to ProfileBookmark

responsive version doesn’t work

Hello,

I can’t figure out, whats wrong with this wordpress site. On small screens the body seems to have a margin of 20% but there is no. It should be 100% width.
Here you can find the CSS (its a wordpress theme): [url]https://codeshare.io/5QQmQw[/url]

And here the responsive problem:
[url]https://cl.ly/111O2a3P1N1H[/url]

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@bharti_panjwaniJan 30.2018 — hi ,

i think you should try giving "width :100%" to body

[CODE]
body {
height: 100%;
width:100%;
font-size: 100%;
margin: 0;
padding: 0;
font-family: "Raleway", sans-serif;
line-height: 1.5;
background: white;
color: #545454;
-webkit-font-smoothing: subpixel-antialiased;
word-wrap: break-word;
-ms-word-wrap: break-word;
}


[/CODE]



and still , if it doesn't work you can use media query to adjust and define "width" at different screen sizes .

hope this will help,

thanks.
×

Success!

Help @weizenhuhn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...