Forum Replies Created
-
AuthorPosts
-
Hi!
Leider gibt es dafür keine Option zum Einstellen.
Der obige Code gehört NICHT in Quick CSS sondern ans Ende der Datei enfold\functions.php oder enfold-child\functions.php, falls Du ein Child theme verwendest.
Um die Default sidebar komplett ohne Inhalt anzuzeigen, verwende:
add_filter( 'avf_show_default_sidebars', 'remove_default_sidebars', 10, 1); function remove_default_sidebars( $show ) { return false; }
Das ist das einfachste.
Wenn Du nur einzelne Teile nicht anzeigen möchtest, dann obigen Code nicht verwenden.
Wenn Du z.B. nur die Pages nicht anzeigen möchtest, dann den folgenden Code verwenden:
add_filter( 'avf_show_default_sidebar_pages', 'remove_default_sidebar_pages', 10, 1); function remove_default_sidebar_pages( $show ) { return false; }
Wenn keine Kategorien:
add_filter( 'avf_show_default_sidebar_categories', 'remove_default_sidebar_categories', 10, 1); function remove_default_sidebar_categories( $show ) { return false; }
Wenn kein Archiv:
add_filter( 'avf_show_default_sidebar_archiv', 'remove_default_sidebar_archiv', 10, 1); function remove_default_sidebar_archiv ( $show ) { return false; }
Hoffe, das hilft Dir weiter.
Cheers!
GünterHi mmc-werbung!
Please try to increase the allocated memory to at least 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Use WP_MAX_MEMORY_LIMIT and WP_MEMORY_LIMIT.
It might also be necessary to contact your service provider to increase it in php.ini also – if you cannot do it.
Cheers!
GünterHey!
I thought, you wanted to have it only on this page.
Try the following:
#main .content { border-right: 0 none !important; } #main .sidebar { border-left: 0 none !important; }
Cheers!
GünterMarch 25, 2015 at 1:04 pm in reply to: How to increase size of social icons in footer (socket) #417713Hey danbooth!
Thank you for coming back.
Use the following and adjust the values:
#footer .social_widget_icon { border-radius: 20px !important; font-size: 25px !important; height: 40px !important; padding-top: 4px !important; width: 40px !important; }
Cheers!
GünterHi Holger!
Thank you for using our theme.
You can remove parts of the default sidebar with filter hooks (look at enfold\sidebar.php line 81 – 83).
In functions,.php of the parent theme (or child theme) put something like that to remove:
add_filter( 'avf_show_default_sidebar_pages', 'remove_default_sidebar_pages', 10, 1); function remove_default_sidebar_pages( $show ) { return false; }
I will add an action call for the next update to allow adding other sidebars:
// customize default sidebar and add your sidebars do_action ('ava_add_custom_default_sidebars');
You can use then, e.g.:
add_action( 'ava_add_custom_default_sidebars', 'add_my_default_sidebar', 10); function add_my_default_sidebar() { dynamic_sidebar('Displayed Everywhere'); }
Cheers!
GünterHey SeattleNanny97!
Thank you for using our theme.
Put the following in custom.css or Enfold->General Styling->QuickCSS and adjust the values:
#footer .widgettitle { border-bottom: 2px solid #fff !important; }
Regards,
GünterHey robertscott!
Thank you for coming back.
Try the following:
.page-id-219 #main .content { border-right: 0 none !important; } .page-id-219 #main .sidebar { border-left: 0 none !important; }
Cheers!
GünterHi!
Thank you for coming back.
The code above always adds the class ‘class-name’.
Try to replace the code above with:
// Add specific CSS class by filter add_filter( 'body_class', 'my_class_names' ); function my_class_names( $classes ) { global $post; // add 'post_name' to the $classes array $classes[] = $post->post_name; // return the $classes array return $classes; }
You must use post_name because the title might contain spaces
Best regards,
GünterHey reddishpinkmedia!
Thank you for using our theme.
To add your custom classes to the body you can use a filter.
See https://codex.wordpress.org/Function_Reference/body_class and look for the Topic “Add Classes By Filters”.
Put the code in functions,.php of Enfold or of the Child theme.
Come back with further questions.
Cheers!
GünterHi!
Thank you for coming back.
Try the following:
.home .av-rotator-container h3 { font-weight: 900 !important; }
Cheers!
GünterHey decode!
Thank you for coming back.
No, bbpress is supported, but it need NOT be installed in the plugins folder,
Regards,
GünterHey Chad!
Thank you for using our theme.
To completly remove the contact form delete the following file:
enfold\config-templatebuilder\avia-shortcodes\contact.php
The CSS you find in:
enfold\css\shortcodes.css line 1325 – 1443
Look for:
/* ====================================================================================================================================================== Contact Form ====================================================================================================================================================== */
Best regards,
GünterHi djshortkut!
Thank you for coming back.
Use the following and adjust the values:
.iconbox .entry-content-header h3 { font-size: 25px !important; } .iconbox .iconbox_content_container { font-size: 25px !important; }
Cheers!
GünterHey emin!
Thank you for coming back.
1 + 2) Use the following:
#main .title_container { height: 49px !important; } .breadcrumb .breadcrumb-trail .trail-before { display: none !important; }
3) Open the page and in the layout metabox Title Bar Settings select “hide both”. I did that for you already. You can overwrite the general enfold settings for every page here.
Regards,
GünterHey!
Thank you for coming back.
The breadcrumbs HTML structure is in enfold\functions-enfold.php line 312ff and 348ff:
$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($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);
Cheers!
GünterHey!
Thank you for coming back.
Have a look at http://codex.wordpress.org/Child_Themes. This will give you some background information.
Cheers!
GünterHey adetec_ing!
Thank you for using our theme.
Have a look at enfold\includes\admin\register-dynamic-styles.php line 10.
There is a hook
$options = apply_filters('avia_pre_prepare_colors', $options);
In this file the options set in the backend are prepared for
enfold\css\dynamic-css.php.
Maybe this will help you.
Regards,
GünterMarch 19, 2015 at 12:27 pm in reply to: Change copyright info – remove "Enfold Child Theme…" #414323Hey!
Thank you for coming back.
Try the following:
@media only screen and (max-width: 767px) { .home #after_section_2 { display: none !important; } }
Cheers!
GünterHi kls1138!`
Thank you for using our theme.
You have to modify enfold\archive.php. Look at line 28-30:
<div class="category-term-description"> <?php echo term_description(); ?> </div>
When using a child theme copy archive.php from parent theme fiolder into enfold-child folder and modify this file. This will prevent overriding your changes with the next update.
Replace this with:
<?php if( is_category() ) { echo '<h1>' . single_cat_title('',false) . '</h1>'; } else { ?> <div class="category-term-description"> <?php echo term_description(); ?> </div> <?php } ?>
Best regards,
GünterHi Sasolini!
Thank you for coming back.
This is not possible out of the box, because the button is a
<a href ...>
You need to modify
\enfold\config-templatebuilder\avia-shortcodes\buttons.php line 276ff.
Add a unique custom class to the button and add an on_click event with jQuery to that class.
Best regards,
GünterHey t3lgroup!
Thank you for using our theme.
Activate your child theme.
Go to Enfold-child Theme Options -> Import/Export. You’ll see a blue button which says “Import Parent Theme Settings”.This should import all your settings from the parent theme.
Conerning translation: Did you modify the language file with PoEdit:
enfold\lang\da_DK.po?
This would be the best way to make the translation.
http://poedit.net/ – it’s a free application.You put your translated files in
enfold-child\lang\da_DK.po
enfold-child\lang\da_DK.moCheers!
GünterHey japmediaent!
Thank you for using our theme.
This content had been posted twice. I will close this topic and we will answer the other one.
Cheers!
GünterHi Mac_Gyver!
Thank you for using our theme.
Out of the box – no, because the button is realized with a
<a href="..."> tag
You need to modify enfold\config-templatebuilder\avia-shortcodes\buttons.php line 276 ff.
You can add a unique custom CSS class to the button and add an ‘on_click’ event with jQuery to this class
Cheers!
GünterHi!
You have to enter the html code like:
Powered by <a href="http://xxx.com" target="_blank">Verity Web Solutions</a>
Best regards,
Günter -
AuthorPosts