Forum Replies Created
-
AuthorPosts
-
March 17, 2014 at 10:59 am in reply to: For WPML language switching breadcrumbs problem (for moderators) #238612
Hey!
Yes, maybe the issue is related to the code I provided here: https://kriesi.at/support/topic/breadcrumbs-not-displaying-correctly/#post-218681 . We’ll look into it if other users report a similar or the same issue.
Regards,
PeterHey sunshineh!
You could use the code I posted here: https://kriesi.at/support/topic/disappear-title/ – Kriesi also uses it on his website.
Cheers!
PeterHi!
1) You just need to change the “parent theme” name. The child theme name is completely independent from the parent theme name. Normally the style.css theme data looks like:
/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */
The “Theme Name” can be any value/text of your choice – you’re not limited to Enfold Child or ABC Child, etc. and you can also i.e. name it “Supertheme”. The important part is “Template: enfold” – “enfold” which refers to the folder name of the parent theme. So if you rename the parent theme folder from “enfold” to “abc” you also must change this line to “Template: abc”.
2) Yes, if you update the theme you must always manually rename the folder and the style.css theme name. I recommend to update the theme with ftp: https://vimeo.com/channels/aviathemes/67209750 then you just need to upload/overwrite all theme files except style.css and you don’t need to edit style.css everytime you update the theme.
Cheers!
PeterHi!
Yes, just post the credentials as private reply.
Best regards,
PeterHi!
1) Your code seems to work for me (Chrome). Maybe try to clear the browser cache. If it still doesn’t work try:
#top .main_color .avia-icon-list .iconlist_icon { background-color: #A81010; }
or:
#top .main_color .avia-icon-list .iconlist_icon { background-color: #A81010 !important; }
2) If you want to center the title I recommend to add a margin-top to it like:
.avia-icon-list .iconlist_title { margin-top: 16px; }
Best regards,
PeterHi!
You can try this css code to vertical align the logo:
#top #header .logo{ position: relative; display: table; } #top #header .logo a, #top #header .logo img{ display: table-cell; vertical-align: middle; }
I use it on my website and it works great for me.
Best regards,
PeterHi!
Great :)
Regards,
PeterHey ksakkos!
I recommend to add a class to the table like:
<table class="nostyletable">
and then use this css code:
#top .nostyletable, #top .nostyletable th, #top .nostyletable td, #top .nostyletable tr{ border: none !important; background: white !important; }
to remove the default theme styles from this table.
Cheers!
PeterMarch 17, 2014 at 10:26 am in reply to: Changes to blog posts not showing to public when use child theme #238593Hi!
I never hosted a website with Hostgator but afaik it’s a popular low budget host and many Kriesi theme users use their service without issues. However I’m not sure which settings and server configurations are possible and maybe you’re the first one with a particular server configuration which causes the issue. I recommend to contact the hostgator support staff – maybe they can provide some useful information.
Best regards,
PeterHey!
1) Ok, then remove the flags from the main menu (you can configure this on the WPML option page) and insert this code at the very bottom of functions.php:
if(!function_exists('avia_append_lang_flags')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); function avia_append_lang_flags( $items, $args ) { if ((is_object($args) && $args->theme_location == 'avia')) { global $avia_config, $sitepress; if(empty($avia_config['wpml_language_menu_position'])) $avia_config['wpml_language_menu_position'] = apply_filters('avf_wpml_language_switcher_position', 'main_menu'); if($avia_config['wpml_language_menu_position'] != 'main_menu') return $items; $languages = icl_get_languages('skip_missing=0&orderby=custom'); if(is_array($languages)) { foreach($languages as $lang) { $currentlang = (ICL_LANGUAGE_CODE == $lang['language_code']) ? 'avia_current_lang' : ''; if(is_home() || is_front_page()) $lang['url'] = $sitepress->language_url($lang['language_code']); $items .= "<li class='language_".$lang['language_code']." $currentlang'><a href='".$lang['url']."'>"; $items .= " <span class='language_flag'><img title='".$lang['native_name']."' src='".$lang['country_flag_url']."' /></span>"; $items .= "</a></li>"; } } } return $items; } }
to add the flags to the main menu.
2) Maybe you didn’t configure or translate the portfolio slugs – see: http://kriesi.at/documentation/enfold/translating-the-portfolio-slug-with-wpml/
Cheers!
PeterHi!
Ismaels answer is correct if you use the “Blog” element to display the blog posts inside your advanced layout. You need to replace:
ob_start(); //start buffering the output instead of echoing it
with
ob_start(); //start buffering the output instead of echoing it query_posts($query_string.”&featured=yes”);
Best regards,
PeterHey!
No, right now the search box is not available for smaller screens. It wouldn’t work well with the touch gestures.
Regards,
PeterHey!
1) To fix the spacing issue insert this code into the quick css field:
.header_color .phone-info { margin-right: 10px; }
2) To change the responsive layout try this code:
@media only screen and (max-width: 767px){ .header_color .phone-info { margin-top: -31px; } .av_phone_active_right.av_secondary_right .phone-info.with_nav span { border-left: 1px solid; border-right: none !important; } .responsive #header .sub_menu { text-align: left; } }
Regards,
PeterHey!
1) Please insert this code into the quick css field:
.main_color .pricing-table li.avia-pricing-row br{ display: none; }
2) Please install the latest version (Enfold 2.6.1). It comes with new header options and allows you to customize the header layout.
Best regards,
PeterHey!
No, this is currently not possible. You can try to use the lightbox and the “expand” image button to create such an effect.
Cheers!
PeterHi!
I’ll ask Kriesi to look into it. For now I recommend to place the code into the child theme style.css.
Best regards,
PeterHey!
The default responsive layout will hide some data fields. If you want to show the entire table please use the “Make entire table scrollable” option: http://www.clipular.com/c/5393582290632704.png?k=b4ogTQH8nnEnef5DdPb23p2UtUw
Best regards,
PeterHey!
You can try a code I found here: http://www.willchatham.com/web-dev/wordpress-2/wordpress-first-last-navigation-items/ – it will basically use the wp_list_pages filter and preg_replace to add a class to the first/last li element:
function add_markup_pages($output) { $output= preg_replace('/page-item/', ' first-page-item page-item', $output, 1); $output=substr_replace($output, " last-page-item page-item", strripos($output, "page-item"), strlen("page-item")); return $output; } add_filter('wp_list_pages', 'add_markup_pages');
Insert it at the bottom of functions.php.
Best regards,
PeterHi!
Personally I can’t reproduce the issue but maybe the animation code doesn’t trigger after the page load. To fix this open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist.php and replace:
$output = ""; $output .= "<li>";
with
$output = ""; $output .= "<li class='avia_start_animation'>";
Best regards,
PeterHi medienvirus!
WooCommerce fügt diesen h1 Titel hinzu. Wenn du diesen nicht anzeigen möchtest füge folgenden Code am Ende der functionsphp ein:
add_filter('woocommerce_show_page_title', '__return_false', 10, 1);
Cheers!
PeterMarch 17, 2014 at 9:00 am in reply to: "You Might Also Like" at bottom of posts malfunctioning #238537Hi!
If you want to remove the space insert this code into the quick css field:
.single .template-blog .post_delimiter { margin: 0 0 20px 0; padding: 0 0 0 0; }
Regards,
PeterHi!
For a quick fix open up wp-content/themes/enfold/includes/helper-main-menu.php and replace:
if(!empty($nav))
with
if(!empty($nav) || empty($nav))
and make sure the top menu is active. The next update will enable you to display the flags in the main navigation if the secondary menu is deactivated or to display the flags in the top bar even if no secondary menu is selected.
Cheers!
PeterMarch 17, 2014 at 8:57 am in reply to: Language flags from WPML at the top header right disappeared after update #238534Hi!
You can use this code:
@media only screen and (max-width: 767px){ .avia_wpml_language_switch { padding-left: 20px; } }
Cheers!
PeterHi!
To fix the logo overlap issue on smaller screens add this code to the quick css field:
@media only screen and (max-width: 767px){ .responsive .mobile_slide_out .logo img { width: 80%; height: auto !important; padding-top: 15px; } }
Kriesi removed the “dropdown” option with the last update. I’ll tag this thread for him in case he wants to comment on the decision.
Best regards,
PeterMarch 17, 2014 at 8:48 am in reply to: Background image (fixed, parallax) disables portfolio grid links on mobile #238528Hey tarahoover!
Did you deactivate the links on your website? Because at the moment I can’t see the portfolio links with Chrome on my desktop PC and I wonder if this is a general issue which affects everyone and not only ipad/iphone users. Can you please create me an andmin account and post the login credentials as private reply?
Cheers!
PeterMarch 17, 2014 at 8:45 am in reply to: Post Slider: need to show full story and button content element #238527Hi!
I think the slider supports html code just fine. However the post you display with the slider ( http://crossfitcaldwell.com/mon-mar-17/ ) did not contain html code. I added some paragraph, line breaks and a shortcode to it and everything is also displayed in the “WOD” slider.
Cheers!
PeterMarch 17, 2014 at 8:36 am in reply to: Changes to blog posts not showing to public when use child theme #238524Hi!
I did some tests and it must be related to some sort of cache. I’m not sure if it’s WP-Super Cache or a server side cache script but it seems like the post queries are cached for users who are not logged in and as soon as you switch the theme (i.e. to TwentyThirteen) or deactivate plugins the server clears the cache and rebuilds the blog. I can reproduce this issue with all themes though – i.e. the post will also not appear if you create it with TwentyThirteen. You first need to switch to Enfold and then it will suddenly pop up.
Regards,
PeterHey!
Great :)
Regards,
PeterHey!
Great :)
Cheers!
PeterHi!
I suggest to use a column element and the “icon list” element to add the icons to your website and to stay away from the “widget” workaround. If you really want to use a widget try to insert the icon list shortcode into the widget area and do not tuse he html code of the shortcode output. You can generate the list shortcode by clicking the “Magic wand” icon in the TinyMCE (visual editor) toolbar. Then copy the shortcode content from the editor into your textwidget.
Best regards,
Peter -
AuthorPosts