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. CSS based on current page / different Logo

CSS based on current page / different Logo

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 409 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
    michaelenglert
    wrote on last edited by
    #1

    Hi there,

    Ive got one question regarding this link/topic:
    http://laytheme.com/documentation.html#css-based-on-current-page

    Is it possible to do change the sitle title on an about page only, when the site title is a picture - so if you want to load a different picture on the about page?

    Thanks again for your great Theme and Support.

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

      Dear @michaelenglert
      to make the website to autodetect if the sitetitle is a picture is possible, but some jQuery work. And probably not very performative.

      Why do you not make a CUSTOM CSS and activate it when you switch the sitetile to a picture manually?

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • M Offline
        M Offline
        michaelenglert
        wrote on last edited by
        #3

        Thanks a lot.
        Kind of Like this?
        (Im not really sure how to activate it. )

        <a class="sitetitle img" href="/tearsheets/" data-type="category" data-id="9" data-catid="" data-title="Michael Englert Fotograf Düsseldorf / Heidelberg">
        <img src="http://www.michael-englert.com/wp-content/uploads/2019/06/logo_white.png" alt="Michael Englert Fotograf Düsseldorf / Heidelberg">

        			</a>
        
        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @michaelenglert
          have a look here:
          http://laytheme.com/documentation.html#custom-css-styling

          bB
          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • M Offline
            M Offline
            michaelenglert
            wrote on last edited by
            #5

            Dear Marius,
            Thanks for the link - that was the one i also referred to in my first post, and helped me change the text format - I just dont know yet how to to change a picture - any hint for me?
            Best, Michael

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

              Dear @michaelenglert
              well, you can have two divs.
              One called div-1 and one called div-2.

              They have this code inside but each has a different path to the image.
              Then you show and hide them, depending on the site you are one.

              Hope that helps!

              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