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

CSS based on current page / different Logo

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 832 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
    M
    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
      mariusjopenM
      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
        M
        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
          mariusjopenM
          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
            M
            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
              mariusjopenM
              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

              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