Forum Replies Created
-
AuthorPosts
-
Hi changegroup!
Thank you for coming back.
Try to remove the class
.home
from the code above – this will lead you to e.g.
@media only screen and (min-width: 990px) { #main { padding-top: 250px !important; } }
This should set the same padding for all pages.
If you want to limit the settings to special pages only, you find classes in the <body> tag.
Best regards,
GünterHi Mariusz!
Thank you for coming back.
There is no list of available hooks up to now.
You must scan the source code of the files to find the actual hooks available.
Regards,
GünterHi!
Thank you for coming back.
In custom.css or enfold->styles->QuickCSS put the following and adjust the values:
#after_section_5 .template-page { margin-top: -80px !important; padding-bottom: 5px !important; padding-top: 5px !important; }
Regards,
GünterJanuary 29, 2015 at 5:39 pm in reply to: Custom Layout Builder Element / Shortcode from Child Theme #387819Hi HuxburyQuinn!
Thank you for using our theme.
Check this documentation. It should answer your question.
Come back, if you need further assistance.
Best regards,
GünterHey Lisan87!
Thank you for using our theme.
In custom.css or Enfold->Styles->QuickCSS put the following and adjust the value of the color:
#footer a { color: blue !important; } #footer a:hover { color: red !important; }
If you need it more specific we need a link to your page pls.
Cheers!
GünterJanuary 29, 2015 at 5:12 pm in reply to: Possible to remove sidebar from attachment pages only? #387792Hey interage!
Thank you for using our theme.
Try the following – put in functions.php at the bottom:
add_filter('avf_sidebar_position', 'my_avf_sidebar_position', 10, 1); function my_avf_sidebar_position($sidebar) { if( is_attachment() ) { $sidebar = ''; } return $sidebar; }
If it does not work, can you give us a link to your page and an admin access pls?
Best regards,
GünterHi darryllevine!
Thank you for using our theme.
Have a look into enfold\includes\helper-main-menu.php.
This is th file, where the header is built. You find action hooks to add your switcher or you can modify the core file to add it, where you want to have it.
Hope, this will help you.
Come back, if you need further assistance.
Cheers!
GünterHey!
Thank you for coming back.
Add the following and adjust the value for the color:
#menu-item-433 span { background-color: green !important; }
Best regards,
GünterHey mkamir!
Thank you for using our theme.
Can we have a link to that page pls to check for the correct CSS?
Cheers!
GünterHi axelfx07!
Thank you for coming back.
You can use the following code to change the text.
Put in in functions.php at the bottom and replace the text:
add_filter( 'avia_breadcrumbs_args', 'my_avia_breadcrumbs_args', 10, 1 ); function my_avia_breadcrumbs_args($args) { $args['show_home'] = 'My Home text'; return $args; }
Cheers!
GünterHey frankster1234!
Thank you for using our theme.
Can you send us a link to the page so we can check for the correct CSS?
Best regards,
GünterHey!
Thank you for coming back.
There may be 2 reasons:
1) The php memory limit is to low – add the code above in wp-config and/or contact your hoster
2) One of the plugins is causing the troubles. Try to reactivate one after the other and see, when the theme breaks. Try to activate all the rest of the plugins. If the theme does not break any longer, than that plugin might cause the error.
Deactivate all plugins again and try to activate ONLY the plugin(s), that caused the problem. If it works, than it is a php memory problem (or a problem between the plugins).
Cheers!
GünterHey Hamdi!
Thank you for using our theme.
Can you give us a link to your site and explain more closely, what exactly you want to do and you have problems with?
Cheers!
GünterHi!
Thank you for coming back.
Remove the following from custom.css:
.title_container .breadcrumb { top: 20px !important; }
Use the following CSS and adjust the values:
.title_container .main-title { top: 15px !important; } .title_container .breadcrumb { top: 20px !important; }
Cheers!
GünterHi allinmom!
Thank you for using our theme.
Check you have latest WP version.
First deactivate all plugins and try to activate the theme.
There might be a php memory problem.
In wp-config.php at the bottom before
/* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/');
insert the following.
define( 'WP_MAX_MEMORY_LIMIT', '128M' );
If this does not help you might have to contact your hoster to increase memory in php.ini.
Best regards,
GünterHi volmering!
Thank you for using the forum.
Not out of the box. The only thing you might do is to manipulate the length of the string by eliminating parts of the path.
You find the code in enfold\framework\php\class-breadcrumb.php.
Look for apply_filters to find filter hooks or modify the core file.
Cheers!
GünterJanuary 29, 2015 at 11:30 am in reply to: Kann ich im child theme elemente von plugins einfügen? #387626Hi adrianwackernah!
Danke, dass Sie das Forum benutzen.
Man kann alle CSS Änderungen entweder im der Datei enfold-child\style.css eintragen oder auch in Enfold-Child->General Styling->QuickCSS.
Best regards,
GünterHey!
Thank you for coming back.
There is only a workaround:
In functions.php at the bottom activate custom css for the ALB:
/* * add option to edit elements via css class */ add_theme_support('avia_template_builder_custom_css');
This adds a field Custom Css Class at the bottom of the post slider popup.
Enter there a name to the slider(s) you want to change, e.g. my_random_slidersReplace the code above with the following:
add_filter('avia_post_slide_query', 'my_avia_post_slide_query', 10, 2); function my_avia_post_slide_query($query, $params) { $needle = 'my_random_sliders'; if( isset($params['class']) && ( stripos( $params['class'], $needle ) !== false) ) { $query['orderby'] = 'rand'; } return $query; }
Cheers!
GünterHi!
Thank you for coming back.
Try to replace the code above with the following:
add_filter( 'excerpt_length', 'new_excerpt_length' ); function new_excerpt_length( $more ) { if(is_home()) { return 550; } else { return 50; } }
If it does not work, can you give us an admin access to your site pls?
Cheers!
GünterHey!
Glad you found a solution. Thank you for this update.
Enjoy the theme.
Best regards,
GünterHi reddishpinkmedia!
Thank you for coming back.
There is a filter hook, where you can manipulate the query parameters.
In functions.php use code like:
add_filter('avia_post_slide_query', 'my_avia_post_slide_query', 10, 2); function my_avia_post_slide_query($query, $params) { $query['orderby'] = 'rand'; return $query; }
More info about $param you find at: enfold\config-templatebuilder\avia-shortcodes\postslider.php line 452 – 510.
Cheers!
GünterJanuary 28, 2015 at 2:26 pm in reply to: "Title Bar Settings": how to set this to "only breadcrumbs"? #386966Hi!
I implemented it and posted the update request to Kriesi.
Enjoy the theme.Best regards,
GünterJanuary 28, 2015 at 1:13 pm in reply to: "Title Bar Settings": how to set this to "only breadcrumbs"? #386939Hi!
Thank you for coming back.
If you have only few pages that need the title you can modify the filter hook:
add_filter('avf_title_args', 'my_avf_title_args', 10, 2 ); function my_avf_title_args ($args, $id) { // enter all the ID's of the pages that need a title seperated by , $pages_titles = array( 150, 200, 210 ); if ( ! in_array( $id, $pages_titles ) ) { $args['title'] = ''; } return $args; }
I will try to implement this feature, so it will be in the core in one of the next updates.
Cheers!
GünterHey donbaek!
Thank you for using our theme.
In functions.php put something like the following code:
add_filter( 'excerpt_length', 'new_excerpt_length' ); function new_excerpt_length( $more ) { if(is_front_page()) { return 150; } else { return 50; } }
Also see the following post:
http://wordpress.stackexchange.com/questions/6310/how-to-control-manual-excerpt-length
Cheers!
Günter -
AuthorPosts