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. categories as filters within menu

categories as filters within menu

Scheduled Pinned Locked Moved General Discussion
16 Posts 3 Posters 315 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.
  • C Offline
    C Offline
    cschm.tz
    wrote on last edited by
    #1

    Hi @arminunruh hope you are well!

    I am aiming to have the page 'Projects' show all of the projects and the sub items in the menu which are currently the categories 'Film' and 'Experience' act as filters of the Projects. However currently, when clicking any of these categories, the pages appear to be empty.

    https://www.j-i.live/projects-copy/

    Captura de pantalla 2024-09-14 a las 21.25.28.png

    Captura de pantalla 2024-09-14 a las 21.23.20.png

    I am sure there is an integration for this but don't seem to find it, within the project thumbnails/category settings, would you kindly be able to point me in the right direction?

    Thanks so much for your help!

    1 Reply Last reply
    0
    • U Offline
      U Offline
      user-4'33''
      wrote on last edited by
      #2

      Is every project assigned to the desired category via Projects > Quick Edit?

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

        hey there!
        in wp-admin/
        when you go to categories - go to the film category by clicking on it like here:

        Screenshot 2024-09-20 at 14.12.38.png

        in here, you will see the gridder.
        here, add a project thumbnailgrid element (more → project thumbnailgrid)
        in the thumbnailgrid modal, choose the correct category of projects to show

        the category pages dont have default content, you need to add it yourself like i just described

        sorry for the late response

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cschm.tz
          wrote on last edited by
          #4

          Hey Armin! Awesome thanks so much :)
          Was able to add the different for the different categories. Just to clarify, in the project page, when I try to add both Film and Experience, it looks like I can only add one OR the other, however the projects page should show all. What am I doing wrong?

          https://www.j-i.live/category/film/

          Thanks again for your help as always!

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cschm.tz
            wrote on last edited by
            #5

            Answered my own question Armin, thanks anyway. The only thing I wonder is, do projects always need to be added individually as I have now to make it work or is there a way to do this in bulk/through thumbnail grids so that it is easier for my client to upload content in the future?

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

              yes its better to use a thumbnailgrid, because it always displays all thumbnails of the chosen category

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cschm.tz
                wrote on last edited by
                #7

                yes sorry what I am asking is why are the 'Film' projects and 'Experience' projects leaving gaps between each other (2 thumbnails) and in different rows?
                Captura de pantalla 2024-10-15 a las 23.18.17.png

                It seems like with thumbnail grids I can only select one category or the other and therefore don't understand how to have ALL projects smoothly visible at once?
                Captura de pantalla 2024-10-15 a las 23.17.57.png

                Do you mind explaining what I am doing wrong?
                Thanks!

                https://www.j-i.live/projects-copy/

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cschm.tz
                  wrote on last edited by
                  #8

                  Hi @arminunruh @mariusjopen sorry to chase with this, is the above at all possible to solve?

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

                    hey you can create a new category called "All" and apply this category to all of your projects:

                    Screenshot 2024-10-23 at 13.05.50.png

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

                      then choose this category as the one you want shown on your thumbnailgrid

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        cschm.tz
                        wrote on last edited by
                        #11

                        legend thank you!!

                        for the thumbnails within, does the client need to reformat everything so that they are all unified in dimensions or can that be done within laytheme at all?

                        Captura de pantalla 2024-10-27 a las 20.44.11.png

                        so that these gaps are avoided?

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

                          your videos/thumbnails need to have the same aspect ratios

                          .thumb-collection .thumb .ph{
                          padding-bottom: 56.25%!important;
                          }
                          

                          this css will just cut off bigger videos / thumbnails

                          maybe its better if you change the videos to all have the desired aspect ratio idk

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            cschm.tz
                            wrote on last edited by
                            #13

                            thanks armin! im afraid the above didn't do anything to the thumbnails? i would love to have control over the aspect ratio however that is the director's decision from video to video and would need a system that can integrate these variations in the long run

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              cschm.tz
                              wrote on last edited by
                              #14

                              for the time being, i have applied this instead. kind of works but it seems like it only crops from the bottom so this may pose issues with centered content?

                              .ph {
                              padding-bottom: 55% !important;
                              }

                              .ph img {
                              object-fit: cover;
                              }

                              1 Reply Last reply
                              0
                              • arminunruhA Offline
                                arminunruhA Offline
                                arminunruh
                                Global Moderator
                                wrote on last edited by
                                #15
                                .ph > *{
                                top: 50%!important;
                                transform: translateY(-50%)!important;
                                }
                                

                                this will center it vertically

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

                                  to change the paddings on a per video basis, you need to add a html class to an element.

                                  https://laytheme.com/documentation/custom-css-styling.html#create-button-style

                                  here i show how to target a specific element.

                                  but thumbnails inside a elementgrid or project thumbnail grid cant have different custom html classes. only the "elementgrid"/"project thumbnail grid" element itself can.

                                  so you might want to add each thumbnail using +project thumbnail

                                  maybe its easier if you just crop the videos using a video editing tool like handbrake

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