Forum Replies Created
-
AuthorPosts
-
Hey!
You don’t need to modify the single.php template to make the template fullwidth. Just add this code to the enfold or child theme functions.php file:
add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id){ if(is_single() && get_post_type($post_id) == "post") { $layout['current'] = $layout["fullsize"]; $layout['current']['main'] = "fullsize"; } return $layout; }
Cheers!
PeterHi!
I think I found a typo in my first code. The first line/replacement code should be:
return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom noLightbox" title="%s">%s</a>', $image_link, $image_title, $image);
I also corrected it in my last post: https://kriesi.at/support/topic/disable-lightbox-on-all-product-pages/#post-296872
Best regards,
PeterHi!
Ok, please let us know if GoDaddy can’t fix the issue.
Regards,
PeterHey Stepconsulting!
1) The translated categories (English articles) have different ids than the Italian categories. Thus you can’t simply copy the content from the Italian website to the English website but you need to reconfigure the categories to query/show the (English) articles.
2) If you want to translate widgets in the footer I recommend to install this plugin: https://wordpress.org/plugins/display-widgets/ which enables you to translate the widgets with WPML.
Cheers!
PeterHey!
Not sure why WPML doesn’t translate this text string especially because our code is correct and refers to the right textdomain. I’m pretty sure this is a bug of the WPML plugin. However I could fix the issue on your server with following code though:
add_filter('avia_contact_form_elements', 'avia_change_caption_captcha', 10, 1); function avia_change_caption_captcha($form_fields) { if(defined('ICL_LANGUAGE_CODE') && ICL_LANGUAGE_CODE == 'de') { if(!empty($form_fields['avia_age']['label'])) $form_fields['avia_age']['label'] = "Bitte lösen Sie die Gleichung. Diese Maßnahme dient der Abwehr von Spam."; } return $form_fields; }
Best regards,
PeterHi!
Versuche einmal diesen Code in das Quick CSS Feld einzufügen:
@media only screen and (max-width: 989px) { #top .checkout #payment #place_order { float: none; margin-top: 30px; } }
Best regards,
PeterHey ProAnts!
Please try to install an advanced editor plugin like: http://wordpress.org/plugins/solid-code-theme-editor/ and check if you can edit the files with this plugin.
Regards,
PeterHey!
Please try to deactivate the minify/cache plugin. Maybe it combines the css files in the wrong order and this can break the theme styling code.
Best regards,
PeterHey Erdogan!
1) Activate the custom css class option field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and insert a custom class into this field – i.e. call it “fullwidth_button” without the “” quotes.
2) Then insert this code into the quick css field:
#top .avia-button-wrap.fullwidth_button, #top .avia-button-wrap.fullwidth_button a{ width 100%; }
and replace fullwidth_button with your custom css class if necessary.
Regards,
PeterHi xyzb!
Yes, you just need to select “Default” in the “Heading font” dropdown. Then select a websafe font – i.e. Arial – for the body text: http://www.clipular.com/c/5253658593722368.png?k=b3sbMQq-ZC7DuLrF-SfVtWTrWao
Enfold won’t load Google fonts if no custom font is selected in the dropdown.
Cheers!
PeterHi!
Our responsive grid won’t stack 2 slides/posts but will always display them side by side. This is not a bug but simply the default layout. If you want to stack them add this code into the quick css field:
@media only screen and (max-width: 767px){ .responsive #top #wrap_all .slide-entry.av_one_half{ width: 100%; margin: 0; clear: both; } }
Replace 767px with another screen size if you want to stack the posts for devices/screens with higher resolutions too.
Regards,
PeterHey!
Try this code instead:
#top .avia_textblock.transparent-block{ color: white; background-color: rgba(0,0,0,0.4); padding: 10px; }
Cheers!
PeterHey storyboardsolutions!
No, unfortunately you can’t limit to the full paragraph. You can only change the number of characters which also affects the excerpt length.
Regards,
PeterAugust 5, 2014 at 5:08 pm in reply to: Mansory portfolio will not display with NO gap , not 1px gap #300317Hi!
Please insert this code into the quick css field and check if it fixes the issue:
.avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry { margin-left: 2px; margin-right: 2px; }
Cheers!
PeterHey!
I recommend to use the “Custom ID” setting of the “Color Section” to specify a custom selector. Otherwise you can’t apply custom stylings to one of your boxes without affecting the other boxes. I noticed the “YOGA AND MEDITATION” section already has a custom id (called “colsright”) and I’ll use this id for the example code.
1) To change the font size use:
#colsright .entry-content-wrapper h2{ font-size: 20px; } #colsright .entry-content-wrapper p{ font-size: 15px; }
2) To add a black, semi transparent background use this code
#colsright .entry-content-wrapper .flex_column{ background-color: rgba(0,0,0,0.5); }
3) Use this code to move the box to the right side:
#colsright .entry-content-wrapper .flex_column{ float: right; }
Regards,
PeterHi!
I’m not familiar with the Cloudflare service but if they minify/compress the scripts and stylesheets you don’t need to install BWP Minify or another minify plugin.
Regards,
PeterAugust 5, 2014 at 4:41 pm in reply to: Enfold: Avia Post Nav Continous Click-through for Portfolio & Blog Posts #300302Hey!
Do you use the Post types order plugin: https://wordpress.org/plugins/post-types-order/ ? If yes this is a known issue because the plugin breaks the default wordpress functions next_post_link() and previous_post_link(). Try to deactivate the plugin and check if the next/prev buttons start to work properly.
Cheers!
PeterHi midischool!
I checked the templates I uploaded here: https://kriesi.at/support/topic/enfiold-and-learning-plug-ins/#post-296429 and these templates do not contain the get_sidebar() function: http://codex.wordpress.org/Function_Reference/get_sidebar which normally loads the sidebar with the widgets. I recommend to hide the sidebar on all course/lesson pages with this code:
.single-lesson .sidebar, .page-id-12 .sidebar, .single-course .sidebar { display: none !important; }
Then the layout is at least consistent on all pages. If you want to show certain widgets on lesson/course pages you probably need to use plugins like https://wordpress.org/plugins/widget-logic/ but I’m not sure which conditionals are supported by Sensei. I suggest to contact the Sensei plugin developer for more details.
Best regards,
PeterAugust 4, 2014 at 5:29 pm in reply to: Weiterlesen-Tag bei Inhalts Element Blog Beiträge selbst definieren #299786Hi MH5!
Ja, füge einfach diesen Code in die Theme functions.php ein:
add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1); function avia_category_content_filter($current_post) { if(!is_single()) { global $more; $more = 0; $current_post['content'] = get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>'); } return $current_post; }
Dann beachtet Enfold immer den Read-More Tag – auch wenn das “Blog Element” verwendet wird.
Best regards,
PeterHi!
The code can be found in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_grid.php and in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php. Also wp-content/themes/enfold/config-woocommerce/config.php contains some woocommerce related code.
Best regards,
PeterHi medienvirus!
Nein leider – wir kennen dieses Plugin nicht. Ich bekomme in Chrome einen Fehler “WARNING: Too many active WebGL contexts. Oldest context will be lost. ” welcher mAn kein Kompatiblitätsproblem ist, aber mehr kann ich dazu leider nicht sagen/feststellen.
Best regards,
PeterHey!
Yes, this is a bug. Afaik Kriesi already created a patch which will be included with the next update.
Cheers!
PeterHey!
Danke, ich habe das Problem nun behoben. Die neueste Version des Plugins kann hier heruntergeladen werden: http://inoplugs.com/portfolio-item/woocommerce-de-erweiterung-fur-kriesi-themes/ . Die Versionsnummer habe ich noch nicht erhöht, dass folgt dann mit dem nächsten Patch ;)
Best regards,
PeterHi Peter!
Uns ist dieses Problem bekannt und wir werden es mit dem nächsten Update beheben. Als temporäre Lösung verwende diesen Code bitte: https://kriesi.at/support/topic/layoutbuilder-issues/#post-296230
Regards,
PeterHey!
If you want to change the size of the featured image too use this code:
add_filter('avf_magazine_settings', 'avia_magazine_thumbnail', 10, 2); function avia_magazine_thumbnail($atts, $magazine){ $atts['image_size']['small'] = 'square'; $atts['image_size']['big'] = 'entry_without_sidebar'; return $atts; }
The second size (set to “entry_without_sidebar”) will determine the size of the fearured image, the other size (set to “square”) the size of all other thumbnails.
Cheers!
PeterHey!
In wp-content/themes/enfold/js/avia.js replace:
$(".main_menu .menu").aviaMegamenu({modify_position:true});
with
$(".main_menu .menu").aviaMegamenu({modify_position:true,delay:0});
This should remove the delay of 300ms.
Cheers!
PeterHi!
Please create a new page, name it HomepageV11 and add this code into the standard editor:
[av_fullscreen size='extra_large' animation='fade' autoplay='true' interval='7' scroll_down='aviaTBscroll_down'] [av_fullscreen_slide slide_type='image' id='2553' attachment=',' position='top left' video='http://' mobile_image='' video_cover='' title='This is a page with transparent header' caption_pos='caption_left caption_left_framed caption_framed' link_apply='button' link='lightbox' link_target='' button_label='Show me' button_color='light' link1='#next-section' link_target1='' button_label2='Click me' button_color2='light' link2='http://' link_target2='' video_controls='' video_mute='' video_loop='' video_autoplay=''] Once the user scrolls down the header color will change [/av_fullscreen_slide] [av_fullscreen_slide slide_type='image' id='2552' attachment=',' position='top left' video='http://' mobile_image='' video_cover='' title='Another caption' caption_pos='caption_right caption_right_framed caption_framed' link_apply='button button-two' link='lightbox' link_target='' button_label='Show me' button_color='light' link1='#next-section' link_target1='' button_label2='Learn more' button_color2='light' link2='#next-section' link_target2='' video_controls='' video_mute='' video_loop='' video_autoplay=''] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque pe. [/av_fullscreen_slide] [/av_fullscreen] [av_one_fourth first] [av_icon_box icon='59' position='left' title='Free Support'] Aenean commodo ligula eget dolor. Lorem <strong>ipsum</strong> dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque<strong> </strong>Aenean massa. [/av_icon_box] [/av_one_fourth] [av_one_fourth] [av_icon_box icon='2' position='left' title='Mobile Ready'] Cum sociis <strong>natoque</strong>. Aenean commodo ligula eget dolor. Aenean massa. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [/av_icon_box] [/av_one_fourth] [av_one_fourth] [av_icon_box icon='125' position='left' title='Updates'] Cum sociis natoque <strong>sadfsadfas </strong>Aenean commodo ligula eget dolor. Aenean massa. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [/av_icon_box] [/av_one_fourth] [av_one_fourth] [av_icon_box icon='36' position='left' title='SEO Optimized'] Aenean commodo ligula eget dolor. <strong>Aenean massa</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [/av_icon_box] [/av_one_fourth] [av_section color='main_color' custom_bg='' src='http://kriesi.at/themes/enfold/files/2013/10/woman-flinging-long-hair-1500x1000.jpg' attachment='2576' attach='parallax' position='top left' repeat='no-repeat' video='' video_ratio='16:9' min_height='75' padding='default' shadow='no-shadow' id=''] [av_one_third first] [av_icon_box icon='ue806' font='entypo-fontello' position='top' title='Mobile Ready' link='' linktarget='' linkelement=''] Cum sociis <strong>natoque</strong>. Aenean commodo ligula eget dolor. Aenean massa. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [/av_icon_box] [/av_one_third][av_one_third] [av_icon_box icon='ue836' font='entypo-fontello' position='top' title='SEO Optimized' link='' linktarget='' linkelement=''] Aenean commodo ligula egconsectetueret dolor sit amlor. <strong>Aenean massa</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [/av_icon_box] [/av_one_third][av_one_third] [av_icon_box icon='ue842' font='entypo-fontello' position='top' title='Free Support' link='' linktarget='' linkelement=''] Aenean commodo ligula eget dolor. Lorem <strong>ipsum</strong> dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque<strong> </strong>Aenean massa. [/av_icon_box] [/av_one_third] [/av_section] [av_section color='main_color' custom_bg='' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' min_height='' padding='default' shadow='no-shadow' id=''] [av_one_fourth first] [av_textblock] <h6>Recent News</h6> <em>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</em> <a href="#">View more</a> [/av_textblock] [/av_one_fourth][av_three_fourth] [av_postslider link='category,3' columns='3' items='3' contents='title' autoplay='no' interval='5'] [/av_three_fourth][av_hr class='default' height='50' position='center'] [av_one_fourth first] [av_textblock] <h6>Recent Work</h6> <em>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</em> <a href="#">View more</a> [/av_textblock] [/av_one_fourth][av_three_fourth] [av_postslider link='portfolio_entries' columns='3' items='3' contents='title' autoplay='no' interval='5'] [/av_three_fourth] [/av_section] [av_section color='socket_color' custom_bg='' src='http://kriesi.at/themes/enfold/files/2013/10/photodune-3581207-black-in-black-m-1500x1182.jpg' attachment='2572' attach='parallax' position='top left' repeat='stretch' video='' video_ratio='16:9' min_height='75' padding='large' shadow='no-shadow' id='portfolio'] [av_heading heading='A beautiful <strong>experience!</strong>' tag='h1' color='custom-color-heading' custom_font='#ffffff' style='blockquote modern-quote modern-centered' size='50' subheading_active='subheading_below' subheading_size='18' padding='60'] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. [/av_heading] [av_one_fifth first] [av_font_icon icon='ue826' font='entypo-fontello' style='border' caption='Eye Candy' link='manually,http://kriesi.at' linktarget='' color='#ffffff' size='40px' position='center'] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. [/av_font_icon] [/av_one_fifth][av_one_fifth] [av_font_icon icon='ue856' font='entypo-fontello' style='border' caption='Tools' link='manually,themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=kriesi' linktarget='' color='#ffffff' size='40px' position='center'] We have added exactly the tools you need and left out everything you don't need. Finally a multi purpose Theme that is not bloated! [/av_font_icon] [/av_one_fifth][av_one_fifth] [av_font_icon icon='ue8a5' font='entypo-fontello' style='border' caption='A list' link='post,94' linktarget='' color='#ffffff' size='40px' position='center'] <ol> <li>Super nice Parallax</li> <li>Optimized for Speed</li> <li>Brilliant Template Builder</li> <li>Easy to use</li> <li>Set up in 2 minutes</li> </ol> [/av_font_icon] [/av_one_fifth][av_one_fifth] [av_font_icon icon='ue8a8' font='entypo-fontello' style='border' caption='Updates' link='manually,themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=kriesi' linktarget='' color='#ffffff' size='40px' position='center'] Enfold is an award winning theme that is quickly becoming one of themeforest top sellers. And for a reason! Try it yourself! [/av_font_icon] [/av_one_fifth][av_one_fifth] [av_font_icon icon='ue8dd' font='entypo-fontello' style='border' caption='Rocket Science?' link='manually,themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=kriesi' linktarget='' color='#ffffff' size='40px' position='center'] Far from! Probably the easiest Multipurpose theme you have ever used! [/av_font_icon] [/av_one_fifth] [/av_section]
Then switch to the template builder and Enfold should convert the code to a template. Note that you probably need to replace the slideshow images, etc. with some custom images on your server.
Cheers!
PeterHey raveon!
Thank you for the bug report. We’ll fix this issue with the next update. If you need a quick fix insert this code into the quick css field:
div .wp-caption.alignright { margin: 4px 0px 0px 10px; }
Cheers!
PeterAugust 4, 2014 at 4:51 pm in reply to: Masonry Gallery image size and header and menu formatting problems.. #299749Hi!
You can use css code to resize the items – insert it into the quick css field:
#top .container .av-masonry-entry { width: 49.80%; }
By default the width is set to 49.80% which creates a 2 column layout. If you want to show smaller images replace it with 24.80% or 32.80% to create a 3 or 4 column layout.
Best regards,
PeterHi emkarp!
Open up wp-content/themes/enfold/js/avia.js and search for this line:
if(st > 50)
Replace 50 (px) with a higher value – i.e. 100 or 200.
Best regards,
Peter -
AuthorPosts