• Hi,
    I hope you’re doing well. I am facing an issue: when I turn on Generate UCSS, it causes the website layout to break. However, when I turn it off, the website seems to work fine. How can I fix this issue?

    Additionally, when I enable guest optimization, it also causes the layout to break. How can I resolve this issue for guest optimization as well? Is guest optimization necessary for guest mode, or will normal optimization apply to guest visitors?

    Thanks.

    Link to Layout Screenshot with UCSS enabled: https://snipboard.io/PlmJ4Q.jpg

    Report number: JBPFDCHN

    • This topic was modified 1 year, 3 months ago by Muhammad Junaid. Reason: Report Number Added

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Muhammad Junaid

    (@mj00712)

    Update: I have switched to Generatepress theme and have added these in UCSS Selector Allowlist.

    .site-logo
    .toggled
    .main-navigation
    .menu-bar-item
    .menu-toggle
    mobile-menu
    .navbar-toggle-wrapper
    .header-menu-sidebar
    .menu-item-nav-search svg
    .header-menu-sidebar-inner
    .builder-item
    .builder-item--nav-icon
    .site-footer
    .footer--row-inner
    .footer-content-wrap
    *, ::after, ::before
    .nv-index-posts
    .nv-page-title-wrap
    .layout-grid .content
    .blog-entry-title

    Now I want to am I adding too much of these or is it ok?

    Plugin Support litetim

    (@litetim)

    @mj00712 it is ok to add those. Generator might not get all the required selectors(id, css)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Generate UCSS causing layout issue’ is closed to new replies.