Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Background color

Background color

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 719 Views 1 Watching
  • 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.
  • Y
    Y
    yu_____go
    wrote on last edited by
    #1

    Hello,

    I'm wondering if anyone could help me accomplish what I'm trying to do.

    I'd like to create something like the image I attach. The row background color doesn't work because I'd like to keep the sides in white. Tried stack element but that didn't do the trick either because I need to keep the background color of the text area the same height as the image.

    I'd appreciate very much if someone could give me a suggestion please!

    Thank you.

    スクリーンショット 2020-03-04 13.30.14.png

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @yu_____go
      you could try to add a background colour with CSS to each textbox and give it the same height with CSS like the image.

      Best!

      Marius

      www.mariusjopen.world

      Y 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        Dear @yu_____go
        you could try to add a background colour with CSS to each textbox and give it the same height with CSS like the image.

        Best!

        Marius

        Y
        Y
        yu_____go
        wrote on last edited by
        #3

        @mariusjopen Thank you Marius! Would you be kind please to explain how exactly I can do that..?

        1 Reply Last reply
        0
        • mariusjopenM
          mariusjopenM
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @yu_____go
          you need to place a textbox on the left and an image on the right.
          The textbox you can give a class called textbox and the image a class called imagebox.

          Then you can add in CUSTOM CSS:

          .imagebox {
              height: 30vh;
              overflow: hidden;
          }
          
          .textbox {
              height: 30vh;
              background: red;
          }
          

          This is just a rough sketch but can give you the idea.

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • Y
            Y
            yu_____go
            wrote on last edited by
            #5

            Sorry @mariusjopen I somehow didn't get a notification and just noticed your reply. Thank you very much for your help I'll give it a try with that!

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            L
            lstark
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search