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. Addons
  3. Background only on row-inner

Background only on row-inner

Scheduled Pinned Locked Moved Addons
4 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.
  • N Offline
    N Offline
    Nathalie
    wrote on last edited by
    #1

    Hi,

    I am using Fullscreen slider vertical and i would like to apply the background only of "row-inner" of my first slide. Right now i am able to add background only of each of my slide, but i don't want the background on my nav menu, just on my slide. Please check the image to have more details.

    I tried to add background on row-inner but it show background on each slide…

    Capture d’écran 2016-09-13 à 21.15.31.png

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      I am not sure what you mean. Can you explain this in a different way?

      On your screenshot I see that your menu at the top has a white background.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nathalie
        wrote on last edited by
        #3

        Hello armin, what you see is exactly what i want.
        The first slide is text and i want a background as you see in the screenshot that i made with row-inner.
        The problem is that if i set a background to row-inner, the background will appear on following slide which i don't want. Also i want to be able to set different color depending of my project. Do you think it's possible ?

        Ps : I can't use your tool when your right click and "set the background" because the background appear all over the slide ( background cover also the menu ).

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          Hey!

          I think here it would be good to use the menu bar to have a white bar underneath your menu.
          Please go to "Customize" -> "Menu Style" -> "Menu Bar"
          Uncheck "hide" and configure your menu bar as you like.

          Then, instead of setting .row-inner to a color with your own css, please use the "set background" feature by right clicking on a row.

          Does that solve the problem? I hope I understood the problem in the right way :)

          If you don't want to do it this way, please use css in a different way:

          .row:nth-child(0) .row-inner{
          background-color: red;
          }
          

          Now instead of 0 you can put a different number into :nth-child(0) which selects a different row. If you combine this with the page selectors you can target certain pages. For example

          body[data-type="project"][data-id="10"] .row:nth-child(0) .row-inner{
          	color: red;
          }
          

          actually with a new version of lay theme you can write:

          body.type-project.id-10 .row:nth-child(0) .row-inner{
          	color: red;
          }
          

          which is a bit shorter

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


          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
          P
          pheim
          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