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. Overlay Burger svg icon – change on specific page

Overlay Burger svg icon – change on specific page

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 230 Views 2 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.
  • M
    M
    marcos
    wrote on last edited by
    #1

    Hello!

    I'm designing a website (WIP: https://villalba.studio/website_2fa0b3db/) for an architectural studio and I'm trying to get the title and custom burger (= binoculars) to change color in certain pages... For instance

    Green on the 'about' https://villalba.studio/website_2fa0b3db/info/
    Red in the index https://villalba.studio/website_2fa0b3db/index/

    I succesfully managed to change the site title logo color with this CSS

    .slug-info  .sitetitle-txt-inner {
        color: #47592f !important;
    }
    

    BUT I'm struggling to change the icon... We cannot simply change the colour (as is an png – or svg – file) so I thought I could create an alternative icon to be used – as custom overlay burger – only in that particular page.

    I think I need something along this lines, but the right syntax

    .slug-home  .custom-overlay-burger {
       <img src="https://villalba.studio/website_2fa0b3db/wp-content/uploads/2024/10/oo_Identificador_blanco.png">
    }
    

    Thanks in advance

    Screenshot 2024-10-17 at 11.55.20 AM.png Screenshot 2024-10-17 at 11.55.11 AM.png

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

      oh, maybe u can use a css filter:
      https://developer.mozilla.org/en-US/docs/Web/CSS/filter

      .slug-home  .custom-overlay-burger {
         <img src="https://villalba.studio/website_2fa0b3db/wp-content/uploads/2024/10/oo_Identificador_blanco.png">
      }
      

      this wont work, this is not valid css

      maybe u can use css content:

      https://developer.mozilla.org/en-US/docs/Web/CSS/content

      Screenshot 2024-10-23 at 13.30.27.png

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