Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Disable Cart In Enfold #1483588

    Hi Mike,

    My goal isn’t to hide the cart modal and indicator. My goal is to disable it. Simply hiding something doesn’t prevent the underlying code from running, and this underlying code is the difference between the server delivering a cached page (super fast) and an uncached page (much slower). Optimizing page speed is the intention here.

    in reply to: Disable Cart In Enfold #1483484

    Hello,

    Sorry to revive an old thread, but this is related and I figured it’d be nice to have both answers in the same place.

    I don’t want to disable the cart icon from the header—it’s fine if it always appears, even with no items in cart—but I want to disable the cart modal popup and the little icon showing the number of cart items added. These features require calls to get_cart_contents_count on every page load, which prevents caching for new customers as soon as they’ve added an item to their cart (as they browse other items in the store). Is this possible with Enfold?

    Thanks!

    in reply to: Show Password Icon missing #1481683

    Hello,

    Any reason this isn’t included in the latest theme udpate?

    To fix this icon in all places (Login, Checkout, My Account > Account Details, etc.) and make it look and function like it should (centered, color changing, and character input doesn’t overlap), I recommend this code, which basically pulls in a simplified version of the official WooCommerce layout stylesheet:

    .woocommerce form .password-input {
    	display: flex;
    	flex-direction: column;
    	justify-content: center;
    	position: relative
    }
    .woocommerce form .password-input input {
    	padding-right: 2.5rem !important;
    	margin-bottom: 0;
    }
    .woocommerce form .password-input input::-ms-reveal {
    	display: none
    }
    .woocommerce form .show-password-input {
    	background: transparent;
    	border: 0;
    	color: #222;
    	cursor: pointer;
    	font-size: inherit;
    	padding: 0;
    	position: absolute;
    	right: .7em;
    	top: 50%;
    	transform: translateY(-50%);
    }
    .woocommerce form .show-password-input.display-password {
    	color: #999
    }
    .woocommerce form .show-password-input::after {
    	font-family: WooCommerce;
    	speak: never;
    	-webkit-font-smoothing: antialiased;
    	content: "\e010";
    	margin-top: -2px;
    	vertical-align: middle;
    	display: inline-block
    }
    in reply to: Some shortcodes appear in search results #1077706

    Doesn’t my solution seem like a hack, likely to break in the future since we haven’t addressed the source of the problem?

    $content = str_replace('<p>[/av_icon_box]</p>
    <p>[/av_one_third][/av_section]</p>', '', $content);
    in reply to: Some shortcodes appear in search results #1076198

    Hi Basilis. I don’t understand your reply. I am using a child theme.

    in reply to: Some shortcodes appear in search results #1074106

    Hi Victoria,

    I have now tried both solutions on the post you mentioned, and the shortcodes still appear. Furthermore, the “show just excerpts” solution I saw referred to the Search Relevance plugin, which I am not using. How would “show just excerpts” be used in a default situation like mine? Any plans to get this working with the new WordPress 5 editor?

    For now I am manually doing:

    $content = str_replace('<p>[/av_icon_box]</p>
    <p>[/av_one_third][/av_section]</p>', '', $content);

    But this is obviously not future proof.

    Thanks.

    in reply to: Some shortcodes appear in search results #1072121

    Thanks Victoria. I saw that post, and I learned that the first solution is already part of Enfold core, and the second solution is for wanting to maintain the content inside the shortcodes. I don’t need the content inside the shortcodes; I just want the ugly shortcodes not to appear, and I’d prefer to avoid RegEx for performance reasons. Is this not a bug, given that I am using the theme’s built-in shortcodes?

    in reply to: Some shortcodes appear in search results #1070913

    Sure, see below.

    in reply to: Cannot Update Theme to 4.5.2 to 4.5.4 #1070842

    I am having the exact same issue. Following all of the troubleshooting steps at https://kriesi.at/documentation/enfold/theme-registration/. When I try using the Envato Market plugin, I see the following after saving my token:

    Incorrect token permissions, please generate another token or fix the permissions on the existing token. Please ensure only the following permissions are enabled:

    View and search Envato sites
    Download your purchased items
    List purchases you’ve made

    I tried removing all permissions except the three listed, to “ensure only the following…”

    Please advise.

Viewing 9 posts - 1 through 9 (of 9 total)