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. 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 44 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.
  • M Offline
    M Offline
    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 Offline
      arminunruhA Offline
      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
      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
      A
      alasdair17
      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