Okay
  Public Ticket #1576060
Progress bar massed up on mobile
Closed

Comments

  • socialjohn started the conversation

    Hi guys.

    The progress bar looks good on desktop but BAD on mobile (added a screen shot).

    How can I solve this??

    Thank you.

  •  3,068
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please try this CSS

    @media only screen and (max-width: 690px) {
    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    }
    

    Hope this helps,

    Regards

  • socialjohn replied

    Awesome! works.


    I tried to apply the same line for desktop (under @media only screen and (max-width : 1000px) )

    But it doesn't work. Any solutions?


    thanks

  •  9,074
    Tahir replied

    Hey Again,

    Seems to be working correctly : http://prntscr.com/jj63p8 . 

    Best


    ThemeNectar Support Team 

  • socialjohn replied

    Hi Tahir.

    Are you looking on mobile or desktop?

    The code is there for both, but you can see the margin effect only on mobile.

    I've added a detailed screen shot.

    What do you think?

    Jonathan

  •  3,068
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Do you want to use this for desktop as well, isn't it already showing fine on desktop?

    Regards

  • socialjohn replied

    Hi Andrew.

    Actually not really.

    When I use longer words- for example "Organic Search" and not "SEO", it starting to get massed up (desktop).

    That's why I use the word "SEO" or "Social" instead of "Social Media".

    The margin effect can help me solve this...

  •  3,068
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Then you might wanna drop the media queries all together and just use the snippet as it is so it affects all screen sizes. 

    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    

    But if you want control of the margin for different screen sizes then you can set up the media queries and tweak for each screen size.

    /* For phones */
    @media only screen and (max-width: 690px) {
    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    }
    /* For tablets */
    @media only screen and (min-width: 768px) {
    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    }
    /* For desktops */
    @media only screen and (min-width: 992px) {
    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    }
    /* For large devices */
    @media only screen and (min-width: 1200px) {
    .ascend .nectar-progress-bar .bar-wrap { margin: 20px 0 0 0!important; }
    }
    

    Hope this helps,

    Regards

  • socialjohn replied

    Awesome! Works.

    3 More quick questions please if I may:


    1. How do I disable the animation in the Nectar Slider for the heading?

    2. How do I disable the animation for the the Custom Headings?

    I can see to find the option for these 2...

    3. How can I change the color and size of the down Navigation Arrow in the Nectar slider? I want it to be bigger in white.


    Thank you!



  •  9,074
    Tahir replied

    Hey Again, Hope you had a Great Weekend, 

    1 &2 : I am afraid its not possible without template edits. 

    3: Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .swiper-wrapper .swiper-slide[data-color-scheme="dark"] .slider-down-arrow i.icon-default-style[class^="icon-"] {
        color: #f481c8 !important;
        font-size: 32px !important;
    }

    Thanks


    ThemeNectar Support Team