-
AuthorPosts
-
October 19, 2016 at 4:39 pm #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, 2 months ago by lech07.
October 21, 2016 at 8:46 pm #702635Hey 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,
JordanOctober 24, 2016 at 10:54 pm #703468hello,
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.
October 27, 2016 at 4:37 pm #704925Hi,
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,
YigitOctober 27, 2016 at 5:52 pm #704949Yes, 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.
November 1, 2016 at 5:23 am #706540Hi,
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,
IsmaelNovember 1, 2016 at 10:40 am #706640Hello,
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, 1 month ago by lech07.
November 4, 2016 at 3:59 pm #708267Hi,
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,
AndyNovember 8, 2016 at 5:41 pm #709909Hi 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.
November 9, 2016 at 5:27 pm #710341Hi,
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,
AndyNovember 9, 2016 at 6:08 pm #710384thanks 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?
- This reply was modified 8 years, 1 month ago by lech07.
November 11, 2016 at 3:56 pm #711200Hi!
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,
IsmaelNovember 21, 2016 at 12:29 pm #714775Hi 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.
November 22, 2016 at 3:39 pm #715359Hi,
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,
AndyNovember 23, 2016 at 4:49 pm #716046doesnt look liek it´s helping me much. Is the code correct inserted?
November 25, 2016 at 1:14 pm #716806Hi,
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,
AndyNovember 27, 2016 at 4:01 pm #717443it 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?November 28, 2016 at 11:29 am #717671Hi,
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,
AndyNovember 29, 2016 at 8:33 pm #718493I 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 8 years ago by lech07.
November 30, 2016 at 1:49 pm #718750Hi,
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,
AndyDecember 7, 2016 at 6:17 pm #721630hello,
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;
}- This reply was modified 8 years ago by lech07.
December 8, 2016 at 2:10 pm #721960Hi,
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,
AndyDecember 12, 2016 at 11:19 pm #723435i dont know/understand how to do it correct, could I get some assistance with this?
December 13, 2016 at 5:06 pm #723822Hi,
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,
AndyDecember 13, 2016 at 6:47 pm #723908yes 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?
December 14, 2016 at 7:43 pm #724475Hi,
yes, this is correct. Make sure you don’t have any typo in your code.
Best regards,
AndyDecember 15, 2016 at 4:24 pm #724891great, 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?
December 16, 2016 at 12:33 pm #725277Hi,
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,
AndyDecember 21, 2016 at 2:49 pm #727044ok. 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;
}}December 23, 2016 at 7:44 pm #728028Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.