• Resolved jaroslawistok

    (@jaroslawistok)


    Sorry but I have to ask further

    I guess since php 8 I can’t customize.
    it actualizes endless and changes will not be realized ??

    This in my css was working all the time till php8:

    .grecaptcha-badge { visibility: hidden; }
    
    .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    margin-left: auto;
    margin-right: auto;
        display: block; }
    
    .ssba-modern-2 {
    margin-left: auto;
    margin-right: auto;
        display: block; }
    
    	
    .pb-grid-post.pb-article .entry-header .entry-title {
    	overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-box-orient: vertical
    	-webkit-line-clamp: 1;
    }
    	
    	
    .pb-grid-post .entry-summary > p:not(.more-link-wrap) {
    	overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-box-orient: vertical;
    	-webkit-line-clamp: 1;
    }
    
    .more-link-wrap {
    	display: none;
    }
    
    .bp-notifications-nav a, .bp-messages-nav a {
        font-size: 0px !important;
    }
    .bp-notifications-nav a span, .bp-messages-nav a span {
        font-size: 10px;
    }
    .bp-menu.bp-notifications-nav a::before {
        content: "\f0f3" !important;
        font-size: 20px;
        font-family: "Font Awesome 5 Free" !important;
    }
    .bp-menu.bp-messages-nav a::before {
        content: "\f0e0" !important;
        font-size: 20px;
        font-family: "Font Awesome 5 Free" !important;
    }
    
    .pb-singular>.post-thumbnail {
        display: none;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author ScriptsTown

    (@scriptstown)

    Hi,

    I have tested the theme with PHP 8.1 without any plugins. And, it does not create an endless loop. The changes work with a publish.

    1. You can try deactivating plugins one by one and see if you can make changes in the customizer without creating an endless loop to identify which plugin causes it.

    2. I heard of this issue before. Earlier it was due to a menu. You can uncheck showing menus on any locations like “Primary”, “Top Menu”, and “Social Links Menu”. Then, try to access the customizer and do any changes to see if it was due to the menu. The fix was to remove menu items with “Custom Links” and recreate them from “Appearance” > “Menus”, recheck menus again for the menu locations, and then test the customizer.

    So, try method 1 before you try method 2. It’s highly possible it’s due to some plugins since we have tested our theme without any plugins on PHP 8.1. You may also test if you can on a different WordPress site without plugins on PHP 8.1.

    Thanks!

    Thread Starter jaroslawistok

    (@jaroslawistok)

    I am using healthcheck troubleshuting plugin.

    I wanted to change to 1 line title what I got from you:

    .pb-grid-post.pb-article .entry-header .entry-title {
    	overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-box-orient: vertical
    	-webkit-line-clamp: 2;
    }

    When putting 1 nothing changes.
    But when I change to show or not featured picture in single post it changes.

    This autorefreshing is still there, but now are all plugins off.
    I also disabled menus.

    All other changes in css work but this one not.
    But I remember it has already worked and showed 1 line title

    The best way would be when fontsize would change to fit in one line ??

    Theme Author ScriptsTown

    (@scriptstown)

    In your CSS code, a semicolon is missing after vertical.

    So, the correct code would be:

    .pb-grid-post.pb-article .entry-header .entry-title {
    	overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-box-orient: vertical;
    	-webkit-line-clamp: 2;
    }
    Theme Author ScriptsTown

    (@scriptstown)

    To changes max lines based on screen width, you can make use of media queries for just line-clamp property like this:

    The below code means:
    – use 1 for small screens
    – use 2 when screen width is 768px or more
    – use 3 when screen width is 1200px or more.

    .pb-grid-post.pb-article .entry-header .entry-title {
    	-webkit-line-clamp: 1;
    }
    
    @media screen and (min-width: 768px) {
    .pb-grid-post.pb-article .entry-header .entry-title {
    	-webkit-line-clamp: 2;
    }
    }
    
    @media screen and (min-width: 1200px) {
    .pb-grid-post.pb-article .entry-header .entry-title {
    	-webkit-line-clamp: 3;
    }
    }
    Thread Starter jaroslawistok

    (@jaroslawistok)

    Thanks a lot, I knew you are the best ??

    I don’t know this semicolon went away

    This refreshing is annoying but in the moment takes to long which plugin could cause this ??

    But at least changes aply ??

    Thx again

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custimizing not working’ is closed to new replies.