Viewing 30 posts - 1 through 30 (of 40 total)
  • Author
    Posts
  • #701421

    Hello,

    Im trying to make a progress bar with notification area to put prices in, but the text breaks in progress bar and in notification bar if the text is to long Is there a way to correct this and if not, is it possible to link the progress bar to some text popping up somehow?

    The site is: http://zorbas.synology.me/wordpress/priser/

    • This topic was modified 8 years, 1 month ago by lech07.
    #702635

    Hey lech07,

    Sorry for the delay in response!

    Thanks for providing your url. I am however not seeing any text breaking on the progress bars on your page. Could you please elaborate as to what exactly is the issue or provide a screenshot showing the issue you are having. You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Best regards,
    Jordan

    #703468

    hello,

    there is text braking etc. if you watch the site from a mobile or making the browser smaller then you should see that it´s not that nice anymore.

    #704925

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 1024px) {
    .page-id-1176 .av-layout-grid-container, .page-id-1176 .av-layout-grid-container .flex_cell {
        display: block;
        width: 100%!important;
    }}
    

    If that does not help, please elaborate on the alternative you have in your mind so we can see whatelse we can do :)

    Best regards,
    Yigit

    #704949

    Yes, it helps a little bit but when making the browser very small like mobile then it doesn´t show correct.
    When I tried on my mobile it show correct at all.

    Im not sure if I have an alternative in mind at this moment. If I could get some examples or ideas then maybe I could think of something.

    #706540

    Hi,

    Please add this inside the css media query above.

    .av-catalogue-content {
        padding-right: 60px;
    }
    
    .avia-progress-bar {
        margin-bottom: 20px;
    }
    
    .progressbar-title {
        font-size: 11px;
    }

    This will remove the right padding of the catalogue container, add a margin below the progress bar and decrease the font size of the title.

    Best regards,
    Ismael

    #706640

    Hello,

    This is the code I have inserted in the quick css of my child theme:
    .custom-tag { padding: 5px; background-color: rgba(0,0,0,0.5); }

    @media only screen and (max-width: 1024px) {
    .page-id-1176 .av-layout-grid-container, .page-id-1176 .av-layout-grid-container .flex_cell {
    display: block;
    width: 100%!important;
    .av-catalogue-content {
    padding-right: 60px;
    }

    .avia-progress-bar {
    margin-bottom: 20px;
    }

    .progressbar-title {
    font-size: 11px;
    }

    ————————

    It doesnt work and the code made other things smaller on the website. It made the pictures (packages) on the frontpage smaller :/

    • This reply was modified 8 years ago by lech07.
    #708267

    Hi,

    your progress bar seems pretty good to me: http://i.imgur.com/KQ1NheV.png

    Could you fix it?

    If not what exactly do you want to achieve? a mockup showing the results would be awesome (imgur.com, dropbox).

    Best regards,
    Andy

    #709909

    Hi Andy,

    If you try to view the page from a mobile or making the browser very thin/responsive you would see that it´s not very nice. With other words, it looks terrible.

    View post on imgur.com

    #710341

    Hi,

    you may want to adjust font-size of prograss bar title on mobile:

    @media only screen and (max-width: 767px) {
    .progressbar-title {
    font-size: 12px;
    }}

    Same goes for catalogue content:

    @media only screen and (max-width: 767px) {
    .av-catalogue-content p:last-child {
    font-size: 12px;
    }
    .avia_message_box_content {
    margin-left: -8px;
    margin-right: -8px;
    }}

    Adjust the values as needed.

    Best regards,
    Andy

    #710384

    thanks alot Andy,

    It seems like it works better now and I have shortened as well the text in the progress bar so it wont brake.

    I have this css on top of your css, do I need this?
    .custom-tag { padding: 5px; background-color: rgba(0,0,0,0.5); }
    @media only screen and (max-width: 767px) { .progressbar-title {
    font-size: 11px;

    All css together looks like this:
    .custom-tag { padding: 5px; background-color: rgba(0,0,0,0.5); }
    @media only screen and (max-width: 767px) { .progressbar-title {
    font-size: 11px;
    }}
    @media only screen and (max-width: 767px) { .av-catalogue-content p:last-child {
    font-size: 11px;
    }
    .avia_message_box_content {
    margin-left: -8px;
    margin-right: -8px;
    }}

    I found a solution to use tabs instead with progressbar but the text dont fit. Is there a solution for this?

    View post on imgur.com

    • This reply was modified 8 years ago by lech07.
    #711200

    Hi!

    Please post the login details here so that we can fix the css codes. There’s a missing curly brace in the previous css codes and that’s why it’s not working. Where did you add the tab element?

    Regards,
    Ismael

    #714775

    Hi Ismael,

    I added the tab element/code inside the “catalogue”
    I have tried to make the text smaller as well, some text looks more different. Can you check everything and see if it is correct? thanks.

    See below in private content.

    #715359

    Hi,

    please use this code inside Quick CSS field:

    .av-catalogue-content {
    padding-right: 0px;
    }

    which should give you some more space. Hope this helps!

    Best regards,
    Andy

    #716046

    doesnt look liek it´s helping me much. Is the code correct inserted?

    #716806

    Hi,

    put the code into Quick CSS field. You could even try to add a margin-right value into it:

    .av-catalogue-content {
    padding-right: 0px;
    margin-right: -10px;
    } 

    Adjust as needed.

    Best regards,
    Andy

    #717443

    it doesnt really make a big difference. If i add margin-right: -20px; it doesnt do anything. if i add margin-right: -30px;
    then something is happening but it changes the greek progress bar and cutting of it´s corners.

    Maybe it would be possible to make a
    margin-right: -30px; or margin-right: -35px; and a code to make the corners of the progressbar like they normal are?
    Will this work for mobile version too?

    #717671

    Hi,

    not sure what you mean with greek progress bar, please add screenshots to make things clear for us. You could do this at first: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then you can add a custom class for the progress bar element in question only. So finally you would use a code like this:

    .your-custom-class {
    padding-right: 0px;
    margin-right: -10px;
    } 

    This way no other elements get effected, which don’t have this unique class.

    For mobile you need to wrap media queries into the code I’ve provided to you. For more information about media queries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Best regards,
    Andy

    #718493

    I have added the code to functions.php and can see the custom css field.

    I have added: .av-catalogue-content { padding-right: 0px; margin-right: -50px; } in custom css field inside the catalogue but there is no difference.

    I did the progress bar with code så there is no custom css field.
    maybe that´s why the code .av-catalogue-content { padding-right: 0px; margin-right: -50px; } doesn´t work for me?

    could you elaborate? what should I do and how should the code look like for the mobile version together with this code?

    • This reply was modified 7 years, 11 months ago by lech07.
    #718750

    Hi,

    please read our documentation I’ve provided to you carefully, as everything is explained there in detail.

    The final code:

    .your-custom-class {
    padding-right: 0px;
    margin-right: -10px;
    } 

    needs to be wrapped with media queries, for example:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .your-custom-class {
    padding-right: 0px;
    margin-right: -10px;
    }}

    and put inside Quick CSS field.

    Best regards,
    Andy

    #721630

    hello,

    Can you see if it is correct?

    I have added: .progressbar-price { padding-right: 0px; margin-right: -10px; } @media only screen and (max-width: 989px) and (min-width: 768px) { .progressbar-price { padding-right: 0px; margin-right: -10px; }}

    to the custom css class in “catalogue”.

    Is this correct and suppose I need to do it for each catalog then?

    My quick css looks like below and contain come css for catalog too, do I need to keep this or remove some of it?
    .custom-tag {
    padding: 5px;
    background-color: rgba(0,0,0,0.5);
    }

    #top .widget_nav_menu {
    padding-top: 0;
    }

    .sidebar_left {
    -moz-box-shadow: inset -8px 0 20px -10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset -8px 0 20px -10px rgba(0, 0, 0, 0.2);
    box-shadow: inset -8px 0 20px -10px rgba(0, 0, 0, 0.2);
    }

    .sidebar_left .inner_sidebar {
    margin-right: 0 !important;
    }

    .sidebar_left .widget_nav_menu ul li a {
    border: 1px solid #e1e1e1;
    border-right: 0;
    border-left: 0;
    margin: 0 0 -1px;
    padding: 12px 16px !important;
    text-align: left;
    }

    .sidebar_left .widget_nav_menu ul li:first-child a {
    border-top: 0;
    }

    @media only screen and (max-width: 767px) {
    .progressbar-title {
    font-size: 11px;
    }
    }

    @media only screen and (max-width: 767px) {
    .av-catalogue-content p:last-child {
    font-size: 11px;
    }

    .avia_message_box_content {
    margin-left: -8px;
    margin-right: -8px;
    }
    }
    .page-id-3665 #element_avia_17_1 {
    width: 100%;
    margin-left: 0;
    }
    .av-catalogue-content {
    padding-right: 0px;
    }
    .avia-testimonial-image {
    float: none;
    margin: 0 auto 0px auto;
    }

    View post on imgur.com

    • This reply was modified 7 years, 11 months ago by lech07.
    #721960

    Hi,

    no, this is not correct. Please read our documentation about how tu use it properly carefully: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Best regards,
    Andy

    #723435

    i dont know/understand how to do it correct, could I get some assistance with this?

    #723822

    Hi,

    I can’t explain it better than already done in our documentation. I could simply repeat, but that wouldn’t help. Hundreds of customers have used it succesfully, so I guess it works fine :).

    As far as I unerstand what you did so far:
    Use catalogue as custom css class. Then use a code like this inside of Quick CSS field:

    @media only screen and (max-width: 989px) and (min-width: 768px) { 
    .catalogue { 
    padding-right: 0px; margin-right: -10px; 
    }
    } 

    Best regards,
    Andy

    #723908

    yes i followed the guide and added add_theme_support(‘avia_template_builder_custom_css’);

    then the custom css class appeared in the element.

    In the custom css class i added: .progressbar-price { padding-right: 0px; margin-right: -10px; } @media only screen and (max-width: 989px) and (min-width: 768px) { .progressbar-price { padding-right: 0px; margin-right: -10px; }}

    which i understand from you that it´s wrong.

    As i understand i need to give a name in the custom css like progress-bar?
    And in the quick css I use the class:

    .progrees-bar {
    padding-right: 0px;
    margin-right: -10px;
    }
    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .progress-bar- {
    padding-right: 0px;
    margin-right: -10px;
    }}

    is this correct?

    #724475

    Hi,

    yes, this is correct. Make sure you don’t have any typo in your code.

    Best regards,
    Andy

    #724891

    great, so far so good.

    I dont understand regarding typo, can you clarify?

    is the code ok now? and what do I need to do next, how can i test this to see if it really works?

    #725277

    Hi,

    put it inside Quick CSS field and then you’ll see if it works or not. I was wondering and mentioning “typo”, because I’ve seen this in your code:

    .progress-bar-

    instead of:

    .progress-bar

    Best regards,
    Andy

    #727044

    ok. I have removed the “-” from .progress-bar-. so it looks like: .progress-bar
    in quick css.

    Is this correct now?

    I can´t see any difference though.

    My code likes this:

    .lch-progrees-bar {
    padding-right: 0px;
    margin-right: -0px;
    }
    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .lch-progress-bar {
    padding-right: 0px;
    margin-right: -50px;
    }}
    @media only screen and (max-width: 767px) {
    .avia_textblock {
    line-height: 37px;
    }
    h1 {
    line-height: 60px;
    }}

    #728028

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Andy

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