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. Menu styling & lightbox text

Menu styling & lightbox text

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 209 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.
  • B Offline
    B Offline
    bensalgado
    wrote on last edited by bensalgado
    #1

    Hi everyone

    I'm working on a website, where I face two problems right now... The website is www.danslekosmos.fr

    I'm trying to add a strokeline and a shadow to the text in my primary menu, so it looks like this :
    http://danslekosmos.fr/wp-content/uploads/2020/03/Capture-d’écran-2020-03-03-à-15.13.30.png

    I've tried this, with two different class, but none of it works..

    nav.primary_menu {
        text-shadow: black 1px 1px;
        text-stroke: 1px;
        text-stroke-color: black;
    }
    
    .laynav primary {
        text-shadow: black 1px 1px;
        text-stroke: 1px;
        text-stroke-color: black;
    }
    

    Does anyone knows if its possible, and what is my mistake ?

    Also, I was wondering if its possible that instead of the lightbox showing a picture in large format when you click on it, to only show the edited caption (it's a small paragraph) in the center of the screen (no picture, only text basically) ?

    I know its a lot of questions, sorry for that, but thanks a lot for your help !
    Ben

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bensalgado
      wrote on last edited by
      #2

      edit :
      I figured out how to add the shadow and stroke to the text.
      I only need help with the lightbox showing only the caption if someone knows !
      Thanks !

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

        Dear @bensalgado
        you can add a caption in the Gridder and not in each image as a file.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bensalgado
          wrote on last edited by
          #4

          Thanks Marius for your reply !

          Unfortunately it's not really what i was looking for... what I'm trying to do, is when you click on a picture, and the lightbox appear, it only shows the caption in the middle of the screen instead of the picture.. (as if a text box opens up)
          My idea was to find the css for image position in the lightbox, and somehow replace it with the lightbox caption, but I couldn't figure it out...

          Best

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

            Dear @bensalgado
            can you post a link to the page where you are working on?

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bensalgado
              wrote on last edited by
              #6

              Hi Marius,

              This is the page : http://danslekosmos.fr/histoire-de-la-franchouillade
              Its with the gallery of portraits, I've edited and added some text in each lightbox caption, but right now, because of its position, we can only see one line of it.

              Thanks a lot for your help Marius !

              Best

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

                Dear @bensalgado
                have a look into this Custom Code:

                .lightbox-caption.lay-textformat-parent {
                    top: 0px !important;
                    height: 100vh;
                }
                

                Hope that leads you on the right track.

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  bensalgado
                  wrote on last edited by bensalgado
                  #8

                  It works ! Thank you so much Marius for helping me and everyone else with our websites !

                  Best !

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

                    Dear @bensalgado
                    happy to help!

                    Best!

                    Marius

                    www.mariusjopen.world

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