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. ajax bug css loading and thumbnail order

ajax bug css loading and thumbnail order

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 90 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.
  • R Offline
    R Offline
    romeo19
    wrote on last edited by romeo19
    #1

    Hello,
    i have this weird bug when i navigate from the frontpage (category-page) to a certain project and then go from there to a different category-page all my css and the ordering of the thumbnail-grid is gone. Only on reloading the page all the styles get applied and the order is also right. I replicated this bug on different browsers (firefox and chrome) and it also disappears when i disable the ajax functionality.
    Is there a way to keep ajax functionality?
    The site is currently setup at: katjadavar.michaelhengl.de

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

      whats your custom css? can u post it here

      1 Reply Last reply
      0
      • R Offline
        R Offline
        romeo19
        wrote on last edited by
        #3

        Hey Armin, thanks for the message, here you go:

        General CSS:
        :root{
        --color-black: #1b1b1b;
        --color-white: #fffafa;
        --color-green: #00d338;
        }

        .lay-sticky{
        top: 80px!important;
        }

        #CV {
        padding-top: 220px;
        }

        .archive .ph, .home .ph{
        height:32vw;
        padding-bottom: 0!important;
        }

        p{
        color:var(--color-black)!important;
        }

        strong{
        font-weight:500;
        }

        .category-1 h1, .category-2 h1, .page-template-default h1{
        font-family: 'AktivGrotesk', sans-serif;
        color: var(--color-black)!important;
        line-height: 1.2!important;
        font-weight: 400!important;
        }

        ._H1{
        font-weight: 400!important;
        }

        .col .thumb img {
        transition: transform 400ms ease-out, opacity 800ms ease-out;
        will-change: opacity;
        object-fit: cover;
        transform: scale(1.75);
        }

        body.thumb-mo-image-has-transition .thumb.has-mouseover-img img.mo_thumb {
        opacity: 0 !important;
        transform: scale(1);
        }

        nav.mobile-nav{
        z-index:99!important;
        }

        .navbar {
        border-bottom-style: dashed;
        border-bottom-width: 1px;
        }

        .project-arrow {
        z-index: 98;
        }

        .project-arrow.pa-prev {
        left: auto;
        right: 65px;
        }

        MOBILE
        .archive .ph, .home .ph {
        height: 60vh;
        padding-bottom: 0;
        }

        .burger-default.active span::after{
        background-color: var(--color-black);
        }

        .burger-default.active span::before {
        background-color: var(--color-black);
        }

        nav.mobile-nav li.current-menu-item > a, nav.mobile-nav li.current_page_item > a {
        background-color: transparent;
        }

        .lay-mobile-icons-wrap {
        z-index: 99;
        top: 0;
        right: 0;
        vertical-align: top;
        }

        .project-arrow{
        width: 10px;
        top: 62px!important;
        }

        .project-arrow.pa-next{
        left:55%!important;
        }

        .project-arrow.pa-prev {
        left: 45%!important;
        }

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

          yea

          dont use
          .page-template-default
          or .archive or maybe .home not either

          only use these selectors:
          type-page
          id-352
          slug-frontpage
          category-*

          or turn on compatibility mode in lay options

          1 Reply Last reply
          1
          • R Offline
            R Offline
            romeo19
            wrote on last edited by
            #5

            Thanks a lot - that helped!

            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
            arminunruhA
            arminunruh
            F
            francesco
            L
            lurchifon
            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