Home Forums WoodMart support forum I want to remove ‘days’ from the timer

I want to remove ‘days’ from the timer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #707979

    limewrap
    Participant

    I want to remove ‘days’ from the timer and place the labels beside the numbers

    Attachments:
    You must be logged in to view attached files.
    #708024

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Try to add the following custom css code in Theme Settings > Custom CSS.

    .wd-timer.wd-labels-hide .wd-timer-text {
        display: inline-block !important;
    }
    
    /* Align number and label side by side */
    .wd-timer > .wd-item {
        flex-direction: row !important;
        gap: 4px;
        align-items: center;
    }
    
    /* Hide days block */
    .wd-timer .wd-timer-days {
        display: none;
    }
    
    .wd-timer .wd-timer-days + .wd-sep {
        display: none;
    }

    Best Regards,

    #708089

    limewrap
    Participant

    i want to change seconds spelling “sc” to “sec”

    #708123

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Try to add the following custom css code in Theme Settings > Custom CSS.

    /* Hide the original seconds text */
    .wd-timer-sec .wd-timer-text {
        visibility: hidden;
        position: relative;
    }
    
    /* Add your custom label "sec" */
    .wd-timer-sec .wd-timer-text::after {
        content: "sec";
        visibility: visible;
        position: absolute;
        left: 0;
    }

    Best Regards,

Tagged: 

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