Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    hide description

    General Discussion
    2
    6
    410
    Loading More Posts
    • 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.
    • T
      Toby last edited by

      Hi Armin

      I've added a description to my thumbnails on the homepage which indicates the category from my menu bar however i'd like to hide the said description once you're clicked on the category page itself.

      is that possible?

      Cheers
      Toby

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi Toby,

        without sewing the website it is a bit difficult to come up with a solution.

        Can you upload it for us?

        Many thanks!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • T
          Toby last edited by

          Yep - www.tobyneilan.com

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Hi Toby,

            I try to explain:

            Each page has a slug. For example when you click on a category the page will get the class .type-category:

            0_1501838814527_Bildschirmfoto 2017-08-04 um 11.26.05.png

            The description also has a class called .descr:

            0_1501838875194_Bildschirmfoto 2017-08-04 um 11.25.45.png

            So if you add to your Custom CSS the following you should have no descriptions in the category page:

            .type-category .descr {
            display: none;
            }
            

            I hope I could help!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • T
              Toby last edited by

              Thanks Marius - I added the code and it did hide the description, but it also hid it on the home page too
              the one page where I want to keep the description.

              1 Reply Last reply Reply Quote 0
              • T
                Toby last edited by

                Solved it - thanks for the help.

                Toby

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post

                Try this to fix issues before you post:

                Use the Search Feature. Maybe there is already a solution to your issue.

                1. Update Lay Theme and all Lay Theme Addons
                2. Disable all Plugins
                3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                4. Now see if your problem solved itself
                5. Go here, see if your problem is listed here:
                Troubleshooting

                When you post:
                1. Post a link to where the problem is
                2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                Thanks!

                Online Users

                I
                L

                Recent Topics

                • C

                  centred Carousel fixed width and proportions

                • L

                  position Project titles outside the images on the side

                • slow navigation WP admin control panel

                • P

                  News element date and title order

                laytheme.com