background colour for textbox
-
I am trying to make a textbox with a grey background.
http://www.rosamundcoady.com/about/I have tried to make a class but I dont think I put it in the right place (the Header section in Editor?)
Im really new at css so dont really know how it works.I would really appreciate some advice while I start to design this site.
Thanks so much!
P
-
Well first of all your class right now is "<div class="backy"></div>". That's not a class, that's html code ^^
Just write "backy" there without "
Then in lay options -> misc options, in to the CSS fields write something like:
padding: 2%; box-sizing: border-box; background-color: black;
-
Armin, you are an absolute legend!
Life saver!For some reason I didnt think to put the code in 'misc options' I was putting the code in the editor...
Great now I can continue with the design!
thanks so much!
-
Cool! :+1:
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it