Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

AndyB

Circle Member
  • Content Count

    57
  • Joined

  • Last visited

  1. Hey, Drea. Here's how you can do this. The "display: inline;" is the key here. h2 { background: linear-gradient(180deg, rgba(255,255,255,0) 50%, #0096ff 50%); display: inline; } If you want to have the text centered, you'll need to add a "text-align: center" to the parent element. .sqs-block-content { text-align: center; } This is an example from a client site I'm working on and I'm doing a low-light effect. For the highlight look, just remove the gradient and make the background a solid color. Hope this helps!
  2. Instead of background-image: use background-color: followed by a hex number or sometimes a simple color word, like "red" will work. For example, background-color: #e4e4e4; or background-color: red; If you're just using color you don't need the background-repeat: or background-position:
×
×
  • Create New...