Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 colour on a text block

Background colour on a text block

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 1.0k Views
  • 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.
  • J Offline
    J Offline
    jd_conductor
    wrote on Jul 25, 2016, 6:19 PM last edited by
    #1

    Hi, is there any way to add a coloured background to a block of text?

    Thanks

    J

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Jul 26, 2016, 1:17 PM last edited by
      #2

      hey jd!
      You could give your text a class and use css for example:

      .text-bg-blue{
      background-color: blue;
      }
      

      Please read http://laytheme.com/documentation.html#custom-css-styling "create a button style" which is kind of a bit similar at least the concept behind it.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jd_conductor
        wrote on Jul 29, 2016, 3:57 PM last edited by
        #3

        Cool, thanks, I'll give it a go!

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jd_conductor
          wrote on Jul 29, 2016, 4:45 PM last edited by
          #4

          Hey Armin

          Is there any way to make the background the same height as the other images in the Gridder row?

          As you can see here (the test bit at the bottom) - http://v3.conductorstudio.com/

          I want to have text block with a background colour that matches the height/width of the 2 images to the side of it.

          No worries if its not possible.

          Cheers

          J

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Aug 1, 2016, 11:19 AM last edited by
            #5

            sry not so easy to do…

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes

            5/5

            Aug 1, 2016, 11:19 AM


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. 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:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            C
            craigfeldspar
            4 minutes ago
            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.
            5 out of 5
            • First post
              5/5
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search