Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    background colour for textbox

    General Discussion
    textbox background
    2
    4
    859
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peterroden last edited by

      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

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        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;
        
        1 Reply Last reply Reply Quote 0
        • P
          peterroden last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • arminunruh
            arminunruh Global Moderator last edited by

            Cool! :+1:

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Try this to fix issues before you post:

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            M
            T
            A
            T

            Recent Topics

            • A

              Designer Websites for free Lay Theme.

            • A

              Broken images

            • A

              Image hover -> Image on image

            • D

              Projects private / public

            laytheme.com