Large enough image (1400px+) will fill the background without the need to adjust any code. Smaller images can be tiled to fit the screen again without touching code.
What image size a re you looking to use? A link to the site would also help.
Thread Starter
d3nd0h
(@d3nd0h)
If I use the 1400px+ image it will fill the background with the image, what I am trying to do here is to get the part of image that I wanted.
Actually I am trying to inject this code:
body{
background-size: 100% 100%;
}
I put that in style.css but nothing works:(
This is the link to my site.
a2tworeasurehunt.com
Anyway, if I have another question should I asked in this thread or should I make a new one?
I put that in style.css but nothing works:(
style.css is not loaded by the theme – its only a placeholder for WordPress to recognize the theme. All styling is done in the files located in the css folder which a loaded automatically via a function callback.
To make any modifications to the theme and avoid loosing your changes please create a child theme to which you may add any changes you wish to make. You can get a starter child theme here: http://www.wpstrapcode.com/faqs/my-child-theme-does-not-work – remember to change the values to your own though.
Anyway, if I have another question should I asked in this thread or should I make a new one?
If your subsequent questions is related then please ask her if not then it is advisable (forum rules) to raise a new thread – new question(ner)(s) in a new thread facilitate the ease of find the answers much quicker 🙂
Thread Starter
d3nd0h
(@d3nd0h)
Oh, finally I found the use of child theme 😀 Thanks a lot Zulfikar. Now, I will immediately raise a new thread.
You are most welcome 🙂
Closing ticket as resolved but if you have further questions please feel free to raise a new thread or ask here if its the same issue and I’ll re-open the thread.