-
AuthorPosts
-
November 23, 2020 at 6:21 pm #1262455
HI guys,
I have some custom css entered in quick css that was working before but now isn’t. I cleared my browser cache but still can’t see the changes reflect, I think something is overridding it but idk why. Here is the code:
#top #main .sidebar { height: 100vh; background-image: url("https://gsdental.wpengine.com/wp-content/uploads/2020/11/services-texture-background.jpg") no repeat; background-size: cover; }As mentioned it was working before but now isn’t…help would be much appreciated. Thanks!
November 24, 2020 at 3:22 pm #1262702Hi bobfurgo,
The reason it doesn’t work because the background-image: value is invalid, use background: instead and it should work.
Best regards,
NikkoNovember 24, 2020 at 3:26 pm #1262703thanks Nikko! I just changed it to background but it isn’t showing still. it could be my browser cache but i’m not sure as I’ve cleared the cache and visited in an incognito
November 24, 2020 at 3:39 pm #1262711Hi bobfurgo,
There are 2 reasons I find why it’s not working atm, first is there’s a similar code (link in private content) in style.css that overrides it.
Then the second one is still invalid code because it should no-repeat with hyphen, I apologize for missing this one.Best regards,
NikkoNovember 26, 2020 at 7:16 pm #1263328thank you! I put a hyphen in no repeat and it worked! But when i scroll down it turns to white. How can I get it to not be white when scrolling down?
November 27, 2020 at 1:41 pm #1263515Hi bobfurgo,
It seems you have already fixed it by adding fixed on the background.
If it’s not fixed, can you give us a screenshot?
Let us know if you need further assistance.Best regards,
NikkoNovember 27, 2020 at 4:19 pm #1263546it is on the background but now when you scroll down the background turns white. can you just scroll down to see? Thanks!
November 30, 2020 at 11:37 am #1263907Hi bobfurgo,
I have already looked into it in different browsers and I get the same result.
Screenshots in private content.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.
