Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1350144

    On this thread. – https://kriesi.at/support/topic/change-animated-numbers-circle-border/ – I got some great support in fixing the animated numbers section on my homepage

    I am using the same animated section on this page – http://balrajt9.sg-host.com/about/ but I need a little bit of help to change the circles/borders to match my mockup a bit more

    Mockup – https://ibb.co/2yVqZh0

    I basically y need the left side to be white as well instead of transparent

    This is the CSS I have already that needs to be tweaked a little bit

    .page-id-235 #av_section_2 .avia-animated-number .avia-animated-number-circle-inner {
    border: 2px solid #007da5;
    border-radius: 50%;
    }
    .page-id-235 #av_section_2 .avia-animated-number .avia-animated-number-circle:after {
    display: block;
    border: 2px solid #969696;
    width: 100%;
    border-radius: 50%;
    transform: translateX(-4%);

    }

    Thanks as always

    #1350155

    Hey navindesigns,

    Thank you for the inquiry.

    You can try this css code to add a white background behind the other circle with the blue border.

    .page-id-235 #av_section_2 .avia-animated-number .avia-animated-number-circle::before {
        display: block;
        border: none;
        width: 100%;
        border-radius: 50%;
        transform: translateX(-4%);
        background: white;
        z-index: 0;
        content: "";
        position: absolute;
        height: 100%;
    }
    

    Best regards,
    Ismael

    #1350156

    Hey navindesigns,

    Thank you for the inquiry.

    You can try this css code to add a white background behind the other circle with the blue border.

    .page-id-235 #av_section_2 .avia-animated-number .avia-animated-number-circle::before {
        display: block;
        border: none;
        width: 100%;
        border-radius: 50%;
        transform: translateX(-4%);
        background: white;
        z-index: 0;
        content: "";
        position: absolute;
        height: 100%;
    }
    

    Best regards,
    Ismael

    #1352589

    This is perfect.

    Now I have one request on mobile.

    The circles are too big and the fonts are too small on mobile

    how can I achieve the following on mobile:

    1- reduce the size of the circle like 80%
    2- Increase the font size

    mockup – https://ibb.co/drYwT48

    #1352597

    Hi navindesigns,

    @media only screen and (max-width:767px) {
      .page-id-235 #av_section_2 .avia-animated-number {
        margin: 75px 0 !important;
      }
    
      .page-id-235 #av_section_2 .avia-animated-number-circle {
        width: 80%;
      }
    
      .page-id-235 #av_section_2 .avia-animated-number-content p {
        font-size: 20px;
        line-height: 1.3;
      }
    }

    Just adjust the values as you see fit.
    Hope this helps.

    Best regards,
    Nikko

    #1352678

    That is perfect

    Would you be able to provide me with the css for the homepage animated blocks too?

    #1352685

    Hi navindesigns,

    Can you try to change the last code I gave you with this one (so it is universal and not specific to one location):

    @media only screen and (max-width:767px) {
      #top #wrap_all .avia-animated-number {
        margin: 75px 0 !important;
      }
    
      #top #wrap_all .avia-animated-number-circle {
        width: 80%;
      }
    
      #top #wrap_all .avia-animated-number-content p {
        font-size: 20px;
        line-height: 1.3;
      }
    }

    Best regards,
    Nikko

    #1353002

    Thank you that works

    Finally, on mobile:
    Can the space between the circles be the same for all – this is for the Homepage – http://balrajt9.sg-host.com/ and the ABOUT US page – http://balrajt9.sg-host.com/about/

    Screenshot – https://ibb.co/WxhLcSC

    #1353088

    Hi navindesigns,

    I have added this code inside the last CSS code I gave (in Quick CSS)

    #top #wrap_all .avia-animated-number-content {
        min-height: 120px;
    }

    then in your homepage I have duplicated the hr element on top of those circles, the original I have hidden in mobile devices, while the duplicate is changed to have a positive space instead of negative then make it visible only to mobile.
    Please review your site.

    Best regards,
    Nikko

    #1353310

    Thanks. That works but now the texts are not vertically centered with the circle so there is a ton of white space underneath

    Screenshot – https://ibb.co/80kny8b

    How can I fix that?

    #1353389

    Hi navindesigns,

    Please remove all the code I gave you in this thread and replace it with this one instead:

    @media only screen and (max-width:767px) {
      #top #wrap_all .avia-animated-number {
        margin: 75px 0 !important;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: center;
        min-height: 140px;
      }
    
      #top #wrap_all .avia-animated-number-circle {
        width: 80%;
      }
    
      #top #wrap_all .avia-animated-number-content p {
        font-size: 20px;
        line-height: 1.3;
      }
    }

    Best regards,
    Nikko

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.