Forum Replies Created
-
AuthorPosts
-
January 20, 2022 at 9:34 am in reply to: Custom font shows correctly on Mac, but not on Windows #1336314
Apparently, our settings were set to not accept any cookies at all, and that resulted in this issue.
For now, we have disabled the cookie banner completely and when we need to work on it again, we’ll know what settings we should be looking at.Case closed :)
- This reply was modified 2 years, 11 months ago by WebVision.
January 20, 2022 at 8:19 am in reply to: Custom font shows correctly on Mac, but not on Windows #1336303Hey Ismael
Yes, I do accept the cookies every time (at least here in the developing phase).
- This reply was modified 2 years, 11 months ago by WebVision.
Hello Mike
Got it.
Consider this case as closed. Thanks.
Hey Mike
This is not possible to do for the element “Special Heading”, nor the column that this element is placed inside of.
Please see Link 1 (or try yourself using credentials that I’ve provided in the original post).
It is possible to add it to the Color Section that this “Special Heading” element is placed inside, but that will also affect all other elements in that section, plus it will add additional unneeded spacing, so this is a no-go.- This reply was modified 4 years, 7 months ago by WebVision.
This is the final solution that I’ve ended up with, and it’s working as it should:
.avia-section-huge .content { padding-top:65px!important; padding-bottom:65px!important; } div.flex_column.av_one_full.flex_column_div.first.avia-builder-el-2.el_before_av_one_half.avia-builder-el-first { padding:30px!important; margin-top:-135px!important; }
Is there any way I could provide another name instead of using “div.flex_column.av_one_full.flex_column_div.first.avia-builder-el-2.el_before_av_one_half.avia-builder-el-first”?
- This reply was modified 4 years, 7 months ago by WebVision.
Jordan? Yigit? Anyone?
Any help would be appreciated.
Hey Jordan
Your solution doesn’t work properly.
Please see Link 1
The white box placed on top of the main banner should stay in the exact same position as it was before. And it should have the exact same size as before. That element is the key element of why this theme was chosen.Please advise.
I’ve tried that mentioned plugin and it didn’t helped a bit, but this helped: https://kriesi.at/support/topic/removing-entypo-font-version-string/#post-239223
- This reply was modified 7 years, 3 months ago by WebVision.
Hi!
If I’m not mistaken, this was achieved by adding the following code to the functions.php file:
add_shortcode( 'breadcrumb', 'enfold_customization_breadcrumb' ); function enfold_customization_breadcrumb(){ global $avia_config; if(!$id) $id = avia_get_the_id(); $header_settings = avia_header_setting(); $defaults = array( 'title' => get_the_title($id), 'subtitle' => "", //avia_post_meta($id, 'subtitle'), 'link' => get_permalink($id), 'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title entry-title'>{title}</{heading}>{additions}</div></div>", 'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true), 'breadcrumb' => true, 'additions' => "", 'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/ ); if ( is_tax() || is_category() || is_tag() ) { global $wp_query; $term = $wp_query->get_queried_object(); $defaults['link'] = get_term_link( $term ); } else if(is_archive()) { $defaults['link'] = ""; } // Parse incomming $args into an array and merge it with $defaults $args = wp_parse_args( $args, $defaults ); $args = apply_filters('avf_title_args', $args, $id); //disable breadcrumb if requested $args['breadcrumb'] = true; //disable title if requested $args['title'] = false; // OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before. extract( $args, EXTR_SKIP ); if(empty($title)) $class .= " empty_title "; $markup = avia_markup_helper(array('context' => 'avia_title','echo'=>false)); if(!empty($link) && !empty($title)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>"; if(!empty($subtitle)) $additions .= "<div class='title_meta meta-color'>".wpautop($subtitle)."</div>"; if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true)); $html = str_replace('{class}', $class, $html); $html = str_replace('{title}', $title, $html); $html = str_replace('{additions}', $additions, $html); $html = str_replace('{heading}', $heading, $html); if(!empty($avia_config['slide_output']) && !avia_is_dynamic_template($id) && !avia_is_overview()) { $avia_config['small_title'] = $title; } else { return $html; } }
After that, place a text block on your page anywhere where you wish to display the breadcrumb.
The text block must contain this:
[breadcrumb]
Good luck :)
There have just been an update of the theme here today 9th of June 2016.
Does this update include this fix or should we wait for the next update again?All the best
Hello
We’ve got it covered.
// Excerpt length function custom_excerpt(){ ?> <script> jQuery(window).load(function(){ jQuery('.type-portfolio').each(function() { jQuery(".entry-content").text(function(index, currentText) { if (currentText.length > 100) { return currentText.substr(0, 100) + "…"; } }); jQuery(".entry-title").text(function(index, currentText) { if (currentText.length > 50) { return currentText.substr(0, 50) + "…"; } }); }); }); </script> <?php } add_action('wp_footer', 'custom_excerpt');
All the best.
Hello Vinay
By cutting text I mean to reduce the text to the maximum amount of characters as it’s defined/limited in the function.
Let’s try again.
If the text is longer than the limit > reduce the text (to the max amount of characters defined by the function).
If the text is shorter than the limit > do nothing.Does it makes sense now?
All the best.
Hello Vinay
Not really. Let me simplify it for you.
If the text is longer then the limit > cut it.
Otherwise > do nothing.That’s 1 situation, pretty simple, if you ask me.
All the best.
Hello Vinay
This works perfectly now! No more “………..” dots at the end if the text is shorter than the limit.
The only last problem that we have right now is that IF the text is shorter than the limit, then the “…” is ALWAYS added to the end, no matter what.As we posted in the very first post in this thread: “Basically if the text is 50 lettes and we need only 30, then the text is get cut after 30 letters and the “…” is added at the end.” – so the “…” should be added ONLY if the text is longer than the X amount of characters.
All the best.
Hey
You can add the following CSS code under “General Styling” > “Quick CSS” section:
.breadcrumb-trail { display: none!important; }
All the best
Hello Vinay
I’ve now changed the limit of the title from 10 to 50. Guess what? 3 of the portofolio items on that specific page has the title shorter then 50 chars, so all of these 3 portofolio items’ titles has the same issue with ……… at the end. This isn’t suitable, as you see and frankly, we don’t think it’s a limitation from WordPress.
Could we please get you to give it another shot?
All the best.
March 3, 2016 at 8:56 am in reply to: Breadcrumb shortcode and Header Title and Breadcrumbs options #592484Done. BTW, you can give all of your 5 votes to your own feature request (instead of just 1)…
Hey again
Sounds great!
Last block has been removed as requested.
All the best
Dear Vinay
Please see the private link, 3rd portofolio box called “Automatic Dust Sampler (ADS)”
To get this effect, I’ve replaced 30 with 100. And since “Automatic Dust Sampler (ADS)”‘s excerpt is under 100 characters, you get the extra dots at the end.
While we talk about limiting the excerpt for the portofolio item, is it also possible to limit the title of the portofolio item (“Automatic Dust Sampler (ADS)”)? It should be possible to limit excerpt and the title independently of each other.
All the best
- This reply was modified 8 years, 9 months ago by WebVision.
March 2, 2016 at 8:39 pm in reply to: Breadcrumb shortcode and Header Title and Breadcrumbs options #592288@Stephan_H : We had similar issue and we have no idea why, but Team Kriesi doesn’t look at this as missing / broken functionality. Have a look here: https://kriesi.at/support/topic/no-breadcrumbs-with-left-sidebar/
Dear Vinay
1) We would like to use &ellipsis; (…) instead of the … (please notice that the first sign is not 3 different dots, but 1 sign including 3 dots in 1 sign).
2) Some excerpts are short, some a longer. In a case where the excerpt is only 29 signs and we limit the excerpt by 30, the output looks funny – suddenly there is added additional 10 dots at the end.
Please recheck the site – I’ve now changed excerpt to 1000 so all of the excerpts has these many dots at the end.All the best.
Hello Vinay
jQuery way would be the best, yes. And it does cut the text, yes.
But you’ve missed one important part of my original question: “if the text is 50 lettes and we need only 30, then the text is get cut after 30 letters and the “…” (&ellipsis;) is added at the end.”
Please do adjust the code, thank you.All the best.
February 29, 2016 at 11:10 pm in reply to: Limit the excerpt length for all portofolio items #591198Still looking for help :)
Thank you kindly.
Works perfectly.
All the best!
Do you need any extra information from our end?
All the best
It doesn’t matter, whats1thingnow.
If you have lots of changes, it is best to move all of the changes when you’re done playing with the customization to theme’s style.cssAll the best
Hey!
Sure thing. Here you go.
February 25, 2016 at 12:50 pm in reply to: Limit the excerpt length for all portofolio items #589010Please do help, we’ve tried nearly all possible solution from this forum with no success.
Thanks for the tip, Guenni007! That worked like a charm.
All the best!
Also, we’ve decided to move the trailing slash (/) after the date-stamp as well, so the CSS would look like this:
.search-results .post-meta-infos .date-container { display: none !important; } .search-results .post-meta-infos .text-sep { display: none !important; }
-
AuthorPosts