Viewing 30 results - 811 through 840 (of 142,833 total)
  • Author
    Search Results
  • #1489434

    Hey BlewWeb,
    You could download the icon here and upload it to your Enfold Theme Options ▸ Import/Export ▸ SVG Iconset and Iconfont Manager
    Then add this snippet to your child theme function.php file or if you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680
    then add this code and save.

    function avia_add_custom_icon($icons) {
    $icons['bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue800');
    return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
    $icons['BlueSky'] = 'bluesky';
    return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
    function avia_add_social_share_link_arguments($args){
        $bluesky = array('bluesky' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://bluesky.com/", 'label' => __("Share on BlueSky",'avia_framework')));
        $args = array_merge($bluesky, $args);
        return $args;
    }

    Then add this css to your Enfold Theme Options ▸ Quick CSS

    #top #wrap_all .av-social-link-bluesky:hover a {
    	  color: #fff;
        background-color: #1185FE;
    }

    Then choose the icon in your Enfold Theme Options ▸ Your Social Profiles
    You can also vote for this feature here.

    Best regards,
    Mike

    #1489424

    In reply to: avia-head-scripts

    Thanks Ismail,
    “Delete Old CSS And JS Files” was and still is activated. I’ also played with deactivating the compression in Enfold, but it doesn’t do the trick.
    I changed my caching plugin to autoptimize. Still the same: https://postimg.cc/8s3DQg5F

    I dared to just delete the folder ingredients of wp-content/uploads/dynamic_avia after backing it up.

    It doesn’t seem to have an effect on the page. I will now check if the masses of files reappear.
    For now the problem seems to be solved,

    Thanks!
    Stefan

    #1489422

    In reply to: 2 menu’s, 2 tokens?

    Okay, I’m slowly starting to understand how the ‘Parent Theme’ and the ‘Child Theme’ work. By adjusting the PHP, I can now edit products again.

    Why is this text still at the top of the products page?

    “Your theme (Enfold Child) contains outdated copies of several WooCommerce template files. These files may need to be updated to ensure compatibility with the current version of WooCommerce.”

    That was actually the reason I purchased a new license, but apparently that doesn’t help solve the problem.

    #1489418

    In reply to: .scroll-down-link

    try f.e.:

    
    #top .scroll-down-link {
      height: 50px;
      width: 50px;
      bottom: 50px;
      background-color: rgba(255,255,255,0.3);
      border: 1px solid var(--enfold-socket-color-border);
      backdrop-filter: blur(4px);
      border-radius: 10px;
      /*** animation: none; ***/
    }
    #top .scroll-down-link.avia-svg-icon svg:first-child {
      height: 50px;
    }
    
    #top .scroll-down-link:hover {
      background-color: rgba(255,255,255,0.8);
    }
    
    #top .scroll-down-link svg path {
      fill: var(--enfold-main-color-primary);
    }
    
    

    if you do not like the animation – just get rid of the outcommenting /*** ***/

    #1489396

    Topic: .scroll-down-link

    in forum Enfold
    VachetAlexandre
    Participant

    How to change the design of the “.scroll-down-link” to be like the “.scroll-top-link”
    http://www.kerry-han.fr

    #1489391

    Thanks Ismael I think I have got the hang of it now.
    Quick add on question (sorry). How do I add a transparent navigation menu to the top that is different from the rest of the site?
    Thanks again.

    #1489371
    Valerie
    Participant

    Hello Support! Is it possible to create categories for testimonials so they can be sorted by topic?

    #1489367
    goldengate415
    Participant

    I just received this and the only API I use is for my Enfold sites. I assume you guys are on top of this:

    Hello Google Maps Customer,

    We are changing the Google Maps JavaScript API controls to reduce the space they occupy by default and to improve the accessibility of panning the map.

    We’re reaching out to you because we have observed one or more of the following criteria:

    Your end-users use the Zoom buttons significantly more than the average.
    One or more of your maps explicitly disables the Zoom control.
    One or more of your maps have customized controls.
    We have provided additional information below to guide you through this change.

    What you need to know
    Map controls are visual elements that allow user interaction with the map, including zooming the map, enabling Street View, and changing the Map Type.

    Version 3.58 of the Google Maps JavaScript API added a new Camera control to make panning the map accessible with a single gesture. This new Camera control features buttons for panning the map and for zooming the map in and out, effectively being a single control to guide the map’s viewport.

    The changes are listed in the table below:

    Date Available in Channel Changes Implemented
    In September 2024 In the weekly channel Version 3.58 and version 3.59 offer the Camera control, without changing the default map controls.
    In November 2024 In the quarterly channel
    In February 2025 In the weekly channel Version 3.60 and newer contain the updated changes to the default map controls.
    In May 2025 In the quarterly channel
    November 2025 Version 3.58 is no longer available.
    February 2026 Version 3.59 is no longer available.
    What you need to do
    Before the default controls are updated

    Test the new Camera control on your maps in version 3.60 or newer.

    If you use default controls in your map options, specify version 3.60 or newer to see how the default controls change.
    If you do not use the default controls, or prefer not to test a newer version for now, enable the Camera control, and optionally disable the Zoom control, in google.maps.MapOptions.
    After the default controls are updated
    Consider taking one of the following actions when using version 3.60 or newer:

    If your code explicitly enables the Zoom control (zoomControl: true), both the Zoom control and the Camera control will be displayed. Consider choosing one to save on map space.
    If your code explicitly disables the Zoom control (zoomControl: false), you may also want to disable the Camera control.
    If your code explicitly enables the Zoom control (zoomControl: true) while keeping the default controls disabled (disableDefaultUI: true), only the Zoom control will be displayed. For better accessibility, consider enabling the Camera control instead.
    You can specify version 3.59 which will be available until February 2026.

    Impacted customers/accounts:

    Your affected projects, client ids and most affected websites are listed below:

    400662023768
    http://www.thomashenthorne.com
    We’re here to help
    Refer to our Maps Javascript API documentation for information about how to edit google.maps.MapOptions to enable cameraControl.

    If you have any other questions or need additional support, please contact us at Google Maps Platform Support.

    Thanks for choosing Google Maps Platform.

    —The Google Maps Platform Team

    #1489358
    CharlieTh
    Participant

    We are displaying weekly Youtube sermons in our website as videos.
    We would like to also insert “cleaned up” transcripts, using the magic of ChatGPT.
    We get a lovely html with print buttons, pdf buttons, style sheet — but cannot figure out how to insert this html document on our Enfold page.

    I have tried to use content in Accordion. Have learned that won’t work.

    (Obviously, each week transcript will be different, so hoped I could use Advanced Custom Fields to store document info and then display via my custom post template.)

    Right now, I am trying Textblock — in Code, not Visual.

    I see the document nicely displayed on BACKEND, but on FRONTEND, I do NOT see the document displayed.

    Since STYLE was included in the HTML — I moved style out to a Codeblock.

    SCRIPT is also in there and I can move it out to another Codeblock.

    What is your suggestion to “see” the document on the FRONTEND?

    Thanks in Advance…

    Below is the attempted code…

    `[av_codeblock wrapper_element='' wrapper_element_attributes='' codeblock_type='' alb_description='' id='' custom_class='' template_class='' av_uid='av-mfpdws8b' sc_version='1.0']
    <style>
    /* ——– Base Styles ——– */<br />
    :root {<br />
    –bg: #0b0c0f;<br />
    –card: #11131a;<br />
    –ink: #e8ecf1;<br />
    –muted: #aeb7c2;<br />
    –accent: #6aa2ff;<br />
    –accent-ink: #0b1b3a;<br />
    –rule: #1e2330;<br />
    }<br />
    html, body { height: 100%; }<br />
    body {<br />
    margin: 0;<br />
    background: radial-gradient(1200px 1200px at 10% -10%, #1b2030 0%, var(–bg) 60%);<br />
    color: var(–ink);<br />
    font: 16px/1.7 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, “Apple Color Emoji”, “Segoe UI Emoji”;<br />
    -webkit-font-smoothing: antialiased;<br />
    -moz-osx-font-smoothing: grayscale;<br />
    }</p>
    <p> .wrapper {<br />
    max-width: 860px;<br />
    margin: 48px auto 96px;<br />
    padding: 0 20px;<br />
    }</p>
    <p> .toolbar {<br />
    position: sticky;<br />
    top: 0;<br />
    z-index: 10;<br />
    backdrop-filter: blur(10px);<br />
    -webkit-backdrop-filter: blur(10px);<br />
    background: color-mix(in srgb, var(–bg) 80%, transparent);<br />
    border-bottom: 1px solid var(–rule);<br />
    }<br />
    .toolbar-inner {<br />
    max-width: 860px;<br />
    margin: 0 auto;<br />
    padding: 10px 20px;<br />
    display: flex;<br />
    gap: 10px;<br />
    align-items: center;<br />
    justify-content: flex-end;<br />
    }<br />
    .btn {<br />
    appearance: none;<br />
    border: 1px solid var(–rule);<br />
    background: linear-gradient(180deg, #1a2233, var(–card));<br />
    color: var(–ink);<br />
    padding: 10px 14px;<br />
    border-radius: 14px;<br />
    cursor: pointer;<br />
    font-weight: 600;<br />
    transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease;<br />
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);<br />
    }<br />
    .btn:hover { transform: translateY(-1px); }<br />
    .btn:active { transform: translateY(0); }<br />
    .btn.accent {<br />
    border-color: color-mix(in srgb, var(–accent), #000 50%);<br />
    background: linear-gradient(180deg, color-mix(in srgb, var(–accent) 50%, #fff 0%), var(–accent-ink));<br />
    color: white;<br />
    text-shadow: 0 1px 0 rgba(0,0,0,0.35);<br />
    }</p>
    <p> .card {<br />
    background: linear-gradient(180deg, #131827, var(–card));<br />
    border: 1px solid var(–rule);<br />
    border-radius: 22px;<br />
    padding: 28px 28px 36px;<br />
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);<br />
    }</p>
    <p> h1, h2, h3 { line-height: 1.2; margin: 0 0 8px; }<br />
    h1 {<br />
    font-size: clamp(28px, 4.2vw, 44px);<br />
    letter-spacing: -0.02em;<br />
    margin-bottom: 12px;<br />
    }<br />
    .meta { color: var(–muted); margin-bottom: 28px; }</p>
    <p> h2 {<br />
    font-size: clamp(20px, 2.5vw, 26px);<br />
    margin-top: 34px;<br />
    }</p>
    <p> p { margin: 12px 0; }<br />
    ul { margin: 8px 0 16px 24px; }<br />
    li { margin: 6px 0; }</p>
    <p> blockquote {<br />
    margin: 18px 0;<br />
    padding: 16px 18px;<br />
    border-left: 4px solid var(–accent);<br />
    background: color-mix(in srgb, var(–card), #000 8%);<br />
    border-radius: 10px;<br />
    }<br />
    blockquote p { margin: 0; }</p>
    <p> hr { border: none; border-top: 1px solid var(–rule); margin: 28px 0; }</p>
    <p> .note { color: var(–muted); font-size: 14px; }</p>
    <p> /* Drop cap for the opening paragraph */<br />
    .lead:first-letter {<br />
    float: left;<br />
    font-size: 3.2em;<br />
    line-height: 0.9;<br />
    padding-right: 10px;<br />
    margin-top: 6px;<br />
    font-weight: 800;<br />
    color: var(–accent);<br />
    text-shadow: 0 6px 16px rgba(106,162,255,0.35);<br />
    }</p>
    <p> /* Print styles */<br />
    @media print {<br />
    body { background: white; color: #111; }<br />
    .toolbar { display: none !important; }<br />
    .wrapper { margin: 0; max-width: 100%; }<br />
    .card { box-shadow: none; border: none; border-radius: 0; padding: 0; }<br />
    a { color: black; text-decoration: none; }<br />
    .note { color: #444; }<br />
    @page { size: A4; margin: 20mm; }<br />
    h1 { font-size: 28pt; }<br />
    h2 { font-size: 16pt; margin-top: 18pt; }<br />
    p, li, blockquote { font-size: 11.5pt; }<br />
    blockquote { background: #f6f6f6; border-left-color: #888; }<br />
    }<br />
    </style>
    [/av_codeblock]

    [av_textblock fold_type='' fold_height='' fold_more='Read more' fold_less='Read less' fold_text_style='' fold_btn_align='' textblock_styling_align='' textblock_styling='' textblock_styling_gap='' textblock_styling_mobile='' size='' av-desktop-font-size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' background='bg_color' background_color='' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' padding='' padding_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-padding='' av-mini-padding_sync='true' fold_overlay_color='' fold_text_color='' fold_btn_color='theme-color' fold_btn_bg_color='' fold_btn_font_color='' size-btn-text='' av-desktop-font-size-btn-text='' av-medium-font-size-btn-text='' av-small-font-size-btn-text='' av-mini-font-size-btn-text='' fold_timer='' z_index_fold='' id='' custom_class='' template_class='' av_uid='av-mfpdtbrg' sc_version='1.0' admin_preview_bg='']
    <div class=”toolbar” aria-label=”Document tools”>
    <div class=”toolbar-inner”><button class=”btn” title=”Send to a printer”>
    ️ Print
    </button>
    <button class=”btn accent” title=”Use your browser’s Save as PDF option in the dialog”>
    Download PDF
    </button></div>
    </div>
    <div class=”wrapper”><article id=”content” class=”card”><header>
    <h1>Sermon: “You Are the Light of the World”</h1>
    <div class=”meta”>Text: Matthew 5:14–16</div>
    </header>
    <p class=”lead”>So, you might have noticed the theme. Send the Light. Thy Word is a lamp. There’s definitely a theme going here.</p>
    We are continuing through the best sermon ever preached by the greatest preacher ever. We have seen Jesus giving assurances to His followers in the Beatitudes—letting them know that His followers are blessed.

    Last week, we began looking at the section where Jesus tells His followers that they are salt and light.
    <h2>Salt</h2>
    We learned a few things about salt in Jesus’ day. Salt was precious. When Jesus said, “Ye are the salt of the earth,” His disciples understood the value. Salt was so valuable it was sometimes used as payment for soldiers.

    Its value came from its purpose:

    • Preservative – As salt, we preserve the holiness of God and His Word in the world.
    • Purifier – Salt was used as a cleansing agent; so are we in the world.
    • Penetrating – Salt works its way in. We are called to go into all the world with the gospel.
    • Creates thirst – Salt makes people thirsty. Do we, by our lives, make people thirst for the living water that is Christ?

    Jesus also warned of useless salt: “If the salt has lost its savour… it is good for nothing, but to be cast out and trodden under foot of men.” Notice, Jesus never challenged us to be salt or light. He simply said, you are.

    <hr />

    <h2>Light</h2>

    Matthew 5:14–16 — “Ye are the light of the world. A city that is set on a hill cannot be hid. Neither do men light a candle and put it under a bushel, but on a candlestick, and it giveth light unto all that are in the house. Let your light so shine before men that they may see your good works and glorify your Father which is in heaven.”

    What a title. What a privilege—that Jesus would say we are the light of the world. But what does He mean?
    <h3>Jesus, the True Light</h3>
    John wrote of the Light in John 1:4–9: “In Him was life, and the life was the light of men. And the light shineth in darkness, and the darkness comprehended it not… That was the true Light, which lighteth every man that cometh into the world.” Of course, John was speaking of Jesus.

    Jesus confirmed it Himself in John 8:12—“I am the light of the world.” Again, in John 9:5—“As long as I am in the world, I am the light of the world.” But then Jesus turned to His disciples and said, “Ye are the light of the world.”
    <h3>The Nature of Our Light</h3>

    • It is personal – Jesus has given every believer this light. He didn’t say we might be light someday; He said we are light.
    • It is His light in us – We are not the source. Jesus is. We are the lamp, the candle, the bulb through which His light shines.
    • It is powerful – Even the smallest light conquers darkness. A single match in a dark cave changes everything.

    Paul reminds us in 2 Corinthians 4:6 that God “commanded the light to shine out of darkness” into our hearts. Philippians 2:15 calls us to shine as lights “in the midst of a crooked and perverse nation.”

    The tragedy is that much of the darkness in our world exists because Christians have hidden their light.
    <h3>The Purpose of Our Light</h3>

    • To shine – Light is not made to be hidden under a bushel but set on a candlestick.
    • To expose – Light reveals what is hidden in darkness, including sin.
    • To reflect – Like the moon reflects the sun, we reflect the Son.
    • To guide – Like runway lights, a lighthouse, or a warning sign, our light points others to safety and to the Father through Christ.

    <h3>The Result of Our Light</h3>
    Jesus says, “Let your light so shine before men that they may see your good works and glorify your Father which is in heaven.” Our light draws others to God. Our good works should point people to Him, not to ourselves. Salvation is mankind’s greatest need—and our shining light directs people to Christ.
    <h2>Closing Challenge</h2>
    Light always overcomes darkness, but it must shine to make a difference. Is your light shining for Jesus? Can you truly sing, “This little light of mine, I’m going to let it shine”? Or are you hiding your light under a bushel?

    If you are trusting in Christ, you have His light. Let it shine.

    Prayer — “Lord, we thank You for Your Word this morning and the encouragement that we are the light of the world. Help us not to cover or hide the light, but to let it shine, that others may see our good works and glorify our Father in heaven. Amen.”

    <p class=”note”>Tip: Use Print to send directly to a printer, or choose Save as PDF in the print dialog to download a PDF copy.</p>

    </article></div>
    <script>
    // Optionally hide buttons when printing (extra safety for non-supporting browsers)
    window.addEventListener(‘beforeprint’, () => {
    document.querySelector(‘.toolbar’)?.setAttribute(‘data-hidden’, ‘true’);
    });
    window.addEventListener(‘afterprint’, () => {
    document.querySelector(‘.toolbar’)?.removeAttribute(‘data-hidden’);
    });
    </script>
    [/av_textblock]

    #1489357
    This reply has been marked as private.
    #1489355

    Thanks Ismael
    If I try and change the size the top line does it’s own thing. Snapping back to vertical and horizontal didn’t change it. See screenshot.
    Thanks

    #1489349

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1489339

    Hey rixi,

    Thank you for the inquiry.

    The changes are being overridden by the H4 style configuration in the Advanced Styling panel. You may need to remove that configuration or add the following code to the Quick CSS field.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      #top #wrap_all .avia-timeline-container.av-meoc0fve-0ab7d904c4d6448157070948d8d30f71 .av-milestone-title {
        font-size: 20px;
      }
    }
    
    

    Best regards,
    Ismael

    #1489331

    Hi,

    why does my Home page look good on desktop, but loses those settings on smaller screens and mobile?

    The issue occurred because a css media query in the Quick CSS field was not closed properly. We have corrected the css code. Please make sure to purge the cache before testing the page.

    Best regards,
    Ismael

    #1489327
    Jason
    Participant

    I am using Enfold 7.1.2 with PHP 8.4 with WooCommerce as a shop.

    When a customer order the “processing email” it leaves a blank space between address 1 and the city, ST ZIP, such as the following:

    Joe Bloe
    1 Street Address

    Los Angeles, CA 90029

    It should be:
    Joe Bloe
    1 Street Address
    Los Angeles, CA 90029

    How do I update the PHP code to remove the blank space on the email if there is no copy in Address 2 field?

    I see this in WooCommerce:

    To override and edit this email template copy woocommerce/templates/emails/customer-processing-order.php to your theme folder: enfold-child/woocommerce/emails/customer-processing-order.php.

    I could use some help how and waht to change from the following:

    <?php
    /**
    * Customer processing order email
    *
    * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php.
    *
    * HOWEVER, on occasion WooCommerce will need to update template files and you
    * (the theme developer) will need to copy the new files to your theme to
    * maintain compatibility. We try to do this as little as possible, but it does
    * happen. When this occurs the version of the template file will be bumped and
    * the readme will list any important changes.
    *
    * @see https://woocommerce.com/document/template-structure/
    * @package WooCommerce\Templates\Emails
    * @version 9.9.0
    */

    use Automattic\WooCommerce\Utilities\FeaturesUtil;

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    $email_improvements_enabled = FeaturesUtil::feature_is_enabled( ’email_improvements’ );

    /*
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    <?php echo $email_improvements_enabled ? ‘<div class=”email-introduction”>’ : ”; ?>
    <p>
    <?php
    if ( ! empty( $order->get_billing_first_name() ) ) {
    /* translators: %s: Customer first name */
    printf( esc_html__( ‘Hi %s,’, ‘woocommerce’ ), esc_html( $order->get_billing_first_name() ) );
    } else {
    printf( esc_html__( ‘Hi,’, ‘woocommerce’ ) );
    }
    ?>
    </p>
    <?php if ( $email_improvements_enabled ) : ?>
    <p><?php esc_html_e( ‘Just to let you know — we’ve received your order, and it is now being processed.’, ‘woocommerce’ ); ?></p>
    <p><?php esc_html_e( ‘Here’s a reminder of what you’ve ordered:’, ‘woocommerce’ ); ?></p>
    <?php else : ?>
    <?php /* translators: %s: Order number */ ?>
    <p><?php printf( esc_html__( ‘Just to let you know — we\’ve received your order #%s, and it is now being processed:’, ‘woocommerce’ ), esc_html( $order->get_order_number() ) ); ?></p>
    <?php endif; ?>
    <?php echo $email_improvements_enabled ? ‘</div>’ : ”; ?>

    <?php

    /*
    * @hooked WC_Emails::order_details() Shows the order details table.
    * @hooked WC_Structured_Data::generate_order_data() Generates structured data.
    * @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
    * @since 2.5.0
    */
    do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );

    /*
    * @hooked WC_Emails::order_meta() Shows order meta data.
    */
    do_action( ‘woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email );

    /*
    * @hooked WC_Emails::customer_details() Shows customer details
    * @hooked WC_Emails::email_address() Shows email address
    */
    do_action( ‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * Show user-defined additional content – this is set in each email’s settings.
    */
    if ( $additional_content ) {
    echo $email_improvements_enabled ? ‘<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%”><tr><td class=”email-additional-content”>’ : ”;
    echo wp_kses_post( wpautop( wptexturize( $additional_content ) ) );
    echo $email_improvements_enabled ? ‘</td></tr></table>’ : ”;
    }

    /*
    * @hooked WC_Emails::email_footer() Output the email footer
    */
    do_action( ‘woocommerce_email_footer’, $email );

    • This topic was modified 6 months ago by Jason.
    #1489326

    Hi,
    Glad to hear that this works. To change the background image in a color section like a slideshow, add a custom class “color-section-slideshow” to your color section in the Advanced ▸ Developer Settings ▸ Custom CSS Class (no dot)
    Then add this snippet in your child theme functions.php

    function color_section_slideshow() { ?>
      <script>
    document.addEventListener("DOMContentLoaded", function () {
      // Target your color section
      const section = document.querySelector(".color-section-slideshow");
      if (!section) {
        console.warn("No element found with selector .color-section-slideshow");
        return;
      }
    
      // List of background images
      const images = [
        "/wp-content/uploads/path-to-image1.jpg",
        "/wp-content/uploads/path-to-image2.jpg",
        "/wp-content/uploads/path-to-image3.jpg",
      ];
    
      if (!images || images.length === 0) {
        console.warn("No images provided for slideshow");
        return;
      }
    
      let current = 0;
      const delay = 3000; // ms between slides
      const transitionDuration = 1000; // ms for transition
      const effect = "fade"; // "fade" or "slide"
      section.style.position = section.style.position || "relative";
      section.style.overflow = "hidden";
      section.style.backgroundImage = url(${images[0]});
      section.style.backgroundSize = "cover";
      section.style.backgroundPosition = "center center";
      images.forEach((src) => {
        const img = new Image();
        img.src = src;
      });
      const overlay = document.createElement("div");
      overlay.style.position = "absolute";
      overlay.style.top = "0";
      overlay.style.left = "0";
      overlay.style.width = "100%";
      overlay.style.height = "100%";
      overlay.style.backgroundSize = "cover";
      overlay.style.backgroundPosition = "center center";
      overlay.style.zIndex = "0";
      overlay.style.pointerEvents = "none";
      overlay.style.opacity = "0";
      overlay.style.transition = opacity ${transitionDuration}ms ease-in-out, transform ${transitionDuration}ms ease-in-out;
      section.appendChild(overlay);
    
      function showNextImage() {
        current = (current + 1) % images.length;
        overlay.style.backgroundImage = url(${images[current]});
    
        if (effect === "fade") {
          overlay.style.transform = "none";
          overlay.style.opacity = "1";
    
          setTimeout(() => {
            section.style.backgroundImage = url(${images[current]});
            overlay.style.opacity = "0";
          }, transitionDuration);
        } else if (effect === "slide") {
          overlay.style.transition = "none";
          overlay.style.transform = "translateX(100%)";
          overlay.style.opacity = "1";
          overlay.offsetHeight;
          overlay.style.transition = transform ${transitionDuration}ms ease-in-out;
          overlay.style.transform = "translateX(0)";
    
          setTimeout(() => {
            section.style.backgroundImage = url(${images[current]});
            overlay.style.transition = "none";
            overlay.style.opacity = "0";
            overlay.style.transform = "translateX(100%)";
            setTimeout(() => {
              overlay.style.transition = opacity ${transitionDuration}ms ease-in-out, transform ${transitionDuration}ms ease-in-out;
            }, 20);
          }, transitionDuration);
        }
      }
      const intervalId = setInterval(showNextImage, delay);
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'color_section_slideshow', 99 );

    Change the images in the snippet to suit and change const effect = “slide”; to “fade” or “slide” as you wish.

    Best regards,
    Mike

    • This reply was modified 6 months ago by Mike. Reason: corrected snippet
    #1489312

    Thank you for testing the Child Theme on the Staging Site.
    I described above that I was clicking the red X on the right hand corner of the Element in Advanced Styling to hide history of changes.
    Is it true that clicking the red X deletes the changes made for that Element?

    If I do not click the red box and save change, then set Button Radius to 20px and All Headings (H1-H6) Text Transform to None, why does my Home page look good on desktop, but loses those settings on smaller screens and mobile? Please see the headings and buttons in Insurance Litigation, Real Property Litigation and the other boxes on desktop, smaller screens and mobile.
    Can you please check and please help me fix it?
    Thank you.

    #1489308

    Hi Ismael,

    Thanks for that I must still be doing something wrong. I can move it using those controls but it changes the font sizes. As soon as I correct the fonts it snaps back to the right. Any changes to the text box shape changes the font size too and it tries to get in one line. I don’t understand the logic of how it is supposed to work. I just want a rectangle box with text in 5 lines that I can position centre top.

    Many thanks

    #1489303
    rixi
    Participant

    Hi,
    i made a post which should show the title, text and read more button. On the desktop it looks ok but on mobile there is no button.
    Any idea why?

    Many regards rixi

    #1489300

    Hi!

    If you need to adjust the color of the search icon as well, include the following css code.

    #top #header .av-main-nav > li > a > svg:first-child, #top #wrap_all .header_color .cart_dropdown_first .cart_dropdown_link.avia-svg-icon svg:first-child {
        fill: #006ab5;
        stroke: #006ab5;
    }

    Best regards,
    Ismael

    #1489297

    Hi,

    Thank you for the info.

    You can try this css code to adjust the height of the slider on smaller screens.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      #top #wrap_all .av-k5zwtv35-b503e223437d26141b6108faf533b96b .avia-slideshow-inner {
        height: 80vh !important;
      }
    
      #top #wrap_all .av-k5zwtv35-b503e223437d26141b6108faf533b96b .avia-slideshow-inner li,
      #top #wrap_all .av-k5zwtv35-b503e223437d26141b6108faf533b96b .avia-slideshow-inner li div,
      #top #wrap_all .av-k5zwtv35-b503e223437d26141b6108faf533b96b .avia-slideshow-inner li div img {
        height: 100%;
        object-fit: cover;
      }
    }

    Result:

    Screenshot-2025-09-17-at-11-18-28-AM

    Best regards,
    Ismael

    #1489291

    In reply to: avia-head-scripts

    Hey Stefan,

    Thank you for the inquiry.

    You can enable the Enfold > Performance > Delete old CSS and JS files? option to automatically delete these files. This option is located at the very bottom of the Performance panel. If the files persist, you can manually delete them (make sure to create a backup first), then resave the theme options to regenerate the dynamic scripts and stylesheets.

    You can also disable the file compression settings in Enfold and instead enable the compression option in your caching plugin, or install a dedicated optimization plugin such as Autoptimize or BWP Minify.

    Hope this helps.

    Best regards,
    Ismael

    #1489289
    bemodesign
    Participant

    I think that my CSS code is stretching out my interior page image sliders.

    when I remove this code, the Easy Slider looks perfect on mobile, but then the Homepage main image is short and cut off.

    how can I get code to make the home page main image longer and fix with the buttons, and also have the Easy Slider look proportional?

    here is the code I had to remove to make Easy slider look right, but home is too short now:

    @media only screen and (max-width: 768px) {
    .responsive #top .avia-slideshow-inner, .responsive #top .avia-slideshow-inner img {
    height: 450px !important;
    }
    }

    #1489275
    fanlokbun
    Participant

    In layerslider I want a text box center. Whatever I do it snaps to the right of the page. There is only an Position left top option. How do I have a text box that I can position where I want it?
    Thanks

    #1489257

    Sorry for the delayed response, and thanks so much for your reply!

    To answer your questions: my Songs page is set up using Single Author, big preview, Excerpt with read more link.

    I do not post the excerpts in a specific order; they are currently organized by date which works for now. This way the most recent post is at the top, the oldest post is as the bottom.

    On the “Blog” page, I add to the song posts with a diary of how the song was made. But I do that randomly, and I’d like the most recent blog post to come to the top of the Blog page filter.

    However, if I change the publish date on the blog post of an older song, it will affect its ordering on the “Songs” page, which I don’t want. I want the older songs to stay at the bottom even if I update the entry.

    So essentially, same blog posts, but two different orderings on two different pages.

    I enclosed links below so you can see how I have it right now. I’d like to be able to change the date on the blog entry, which would bring new blog entries to the top, but also somehow keep the list on the Songs page as-is.

    I’m sorry if this sounds confusing. I honestly think I’m confusing myself lol.

    #1489236

    Hey koomo,

    Thank you for the inquiry.

    Please add this css code to adjust the position of the overlay inside the carousel.

    .swiper-slide span.image-overlay.overlay-type-image {
        left: 0 !important;
        top: 0 !important;
    }

    Best regards,
    Ismael

    #1489230

    Hi,
    Thanks for your patience, the reason this is occuring is becuse you have a script adding the read more links:

    (function($){
      $(window).on('av-height-change', function() {
        $('.av-masonry:not([class*="-gallery"]) .av-masonry-entry').each(function() {
          var more = $(this).find('.av-masonry-read-more');
          var cont = $(this).find('.av-masonry-entry-content');
      
          if( more.length == 1 ) return;
          cont.append('<div class="av-masonry-read-more">Lees meer ></div>');
        });
      });
    })(jQuery);

    they are added after the page load and the masonry has set the abosulte item heights, which is used in the grid placement, thus the 36px height of the read more offsets the 30px margin bottom, so you have no space. This is also occuring on the desktop version, there you have set a 70px bottom margin, but after the read more is added the space looks about 30px, you probly didn’t notice.
    So the solution is to change your custom css for mobile from margin-bottom: 30px !important; to margin-bottom: 70px !important;

    Best regards,
    Mike

    #1489225

    Hi,
    Typically updating from v4.x to v7.x should cause no major issues as the theme is backward compatible, but if your child theme has any customized elements, or a header.php or footer.php, these will cause issues, and should be removed first.
    Updating via FTP by overwriting the theme files will also cause issues as older files will be left behind, updating by uploading the theme as “new” in the WP backend is safer as WordPress removes the old directory and then adds the new directory.
    I have not seen an issue where an update lead to the shortcodes showing (e.g. [av_textblock]), do you see the shortcodes on the frontend or in the backend in the Block Editor? Pages & Posts created with the ALB (Advanced Layout Builder) should not be opened, edited, or saved with the Block Editor, always edit ALB pages with the ALB editor. Also don’t use any other builders like elementor, beaver builder, visual composer, etc.
    Incremental updates is not needed as I have seen v3.x updated without issues. I recommend exporting your child theme settings for backup, and exporting the layerslider sildes. Then create a staging site to test the update on, this way your live site is unchanged while your issue can be examined. Ensure that your stagging site is not using a cache plugin or object-oriented cache from your server, or a CDN, as these may not show the updated site correctly.
    The only issues that I find for Ninja Forms are old:
    2015: https://kriesi.at/support/topic/customize-ninja-form-styling/
    2016: https://kriesi.at/support/topic/enfold-ninja-forms-conditional-logic-problems/
    2019: https://kriesi.at/support/topic/ninja-forms-not-working-after-latest-wordpress-update/
    2021: https://kriesi.at/support/topic/ninja-forms-breaking-with-enfold/
    Note that the layerslider has had many changes and you may need to edit your slides and resave the transforms and minor settings, there is nothing we can do about that, the layerslider doesn’t seem to be fully backward compatible.

    Best regards,
    Mike

    #1489211

    In reply to: portfolio image sizing

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1489191
    aintzerga
    Participant

    Hello.
    We’re creating a Masonry gallery to display blog posts, with 12 categories.
    When viewing the page, we see that the Masonry gallery only displays 8 filter categories, not the 12 I have selected.
    I’ve created this test page, where you can see an article gallery at the top with the Magazine option, where you can see the 12 filter categories, and another one below with the Masonry gallery option, where only 8 categories are displayed, even though I have 12 selected.
    See test pages: https://saitra.com/aaa-pruebas/

    How can we fix this?

    Thank you.

Viewing 30 results - 811 through 840 (of 142,833 total)