Forum Replies Created
-
AuthorPosts
-
August 1, 2013 at 4:40 pm in reply to: Using different google fonts and stopping auto capitalisation of headings #132391
1) You can use the filter to add new fonts. In functions.php replace
<?php
global $avia_config;with
<?php
global $avia_config;
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Arvo'] = 'Arvo:400,700';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Arvo'] = 'Arvo:400,700';
return $fonts;
}and instead of “Arvo” insert your font name. You can also change the font weight parameter. Afterwards select the new font from the dropdown (admin screen).
2) Insert following code into the quick css field
.template-page .entry-content h1, .template-page .entry-content h2, .widgettitle, .iconbox .iconbox_content .iconbox_content_title, .avia-icon-list .iconlist_title{
text-transform: none;
}Hey!
Open up search.php and replace
get_header();
with
get_header();
$avia_config['layout']['current'] = $avia_config['layout']['fullsize'];
$avia_config['layout']['current']['main'] = 'fullsize';Best regards,
Peter
Not sure why it doesn’t work in your case – the German translation file works just fine for me. You can try following:
1) Add following code to the po file:
# @ avia_framework
#: framework/php/function-set-avia-frontend.php:850
msgid "search results for:"
msgstr ""
# @ avia_framework
#: framework/php/function-set-avia-frontend.php:854
msgid "search result for:"
msgstr ""and translate the strings with i.e. Poedit.
2) Generate a new po file with Codestyling: http://wordpress.org/plugins/codestyling-localization/
Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).
The slider seems to work for me (and I can also find the links in the source code) but please update the theme to the latest version. V1.8.4 includes LayerSlider 1.6 which fixes some bugs (eg the scale feature works now, etc) and maybe the new version fixes your problem too.
Ich würde eine Auflösung von maximal 1200px empfehlen und eine möglichst kleine Dateigröße. Man kann sich auch mit der Animationsgeschwindigkeit und dem Delay herumspielen, damit man ein möglichst gute Ergebnis erzielt.
Hey!
I deleted the thread because it was a duplicate. I answered it here: https://kriesi.at/support/topic/side-menu-order
Regards,
Peter
1) Yes – use following code to change the excerpt length:
add_filter('avf_postgrid_excerpt_length','avia_change_excerpt_length',10,1);
function avia_change_excerpt_length()
{
return 100;
}Insert it at the bottom of functions.php and increase/decrease the return value.
2) No, at the moment the slider just supports a fade effect.
Yes you can use the header-scrolled class to resize the image as soon as the user scrolls down. However it will “jump” a bit and you won’t get the same nice resizing effect with a fixed logo. Use following code to determine the “small” logo dimensuions
.header-scrolled .logo img {
width: 100px;
height: 100px;
}August 1, 2013 at 8:07 am in reply to: How to remove the white band between the slider (below) and the header (above) #130261You can remove the green line with
li:hover .avia-menu-fx, .current-menu-item>a>.avia-menu-fx, li:hover .current_page_item>a>.avia-menu-fx {
display: none !important;
}If you want to remove the grey borders too use
#header_main {
border: none !important;
}Hi!
You can change the font size with following code – insert it into the quick css field
.main_menu ul:first-child>li>a {
font-size: 16px;
}Best regards,
Peter
Hey!
Ah ok :)
Open up wp-contentthemesenfoldincludesadminregister-portfolio.php and replace
'supports' => array('title','thumbnail','excerpt','editor','comments')
with
'supports' => array('title','thumbnail','excerpt','editor','comments','custom-fields')
Best regards,
Peter
August 1, 2013 at 7:50 am in reply to: Enfold – Video and Avia Layout Builder in Ajax Preview?? #132480The ajax preview gallery does not support videos at the moment but we’ll definitely look into it because some other users requested this too. If you want to remove the image gallery open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php and delete
$output .= "<div class='av_table_col first portfolio-preview-image'>";
$output .= $images;
$output .= "</div>";1) You must add px or % to your width/height attribute. Just 230 is not a valid syntax and it must be 230px or a % value.
2) You can’t do this if your logo has a relative position. A solution would be to set the position to “fixed” with following css code
.logo img {
position: fixed;
width: 230px;
height: 230px;
}Maybe you need to use a media query to set the position to “relative” on small screens – otherwise the logo is not “responsive”.
@media only screen and (max-width: 768px) {
.logo img {
position: relative;
}
}Hi!
Please try to insert following code into the quick css field
#wrap_all {
overflow-y: hidden;
}Regards,
Peter
August 1, 2013 at 7:34 am in reply to: THE SOLUTION FOR PROBLEMS WITH IE (COMPATIBILY VIEW JUST THE OPPOSITE) #132360You can also try this hack here: http://www.cfelements.com/2010/06/detecting-and-correcting-ie8-in.html
Maybe the code I posted above is not valid and the content attribute just supports one browser. Then IE=100 should overwrite all browsers up to v99 :)
<meta http-equiv="X-UA-Compatible" content="IE=100" />
Please make sure that the “compatibility view” mode is turned off. Another user reported similar issues and it turned out that he/she used the compatibility mode which can break the website easily (because the browser tries to “emulate” another browser engine – https://kriesi.at/support/topic/the-solution-for-problems-with-ie-compatibily-view-just-the-opposite ).
August 1, 2013 at 7:26 am in reply to: Contact Form not sending fields with certain letter/signs in the title #131043Hey!
This bug will be fixed in the next version.
Regards,
Peter
Hi!
Hallo,
der Link leitet mich auf http://www.fischer-media.at/home/ weiter, wo wiederum ein anderes CMS verwendet wird. Bitte stellt sicher, dass ich mir diese Seite ansehen kann :)
Best regards,
Peter
August 1, 2013 at 6:38 am in reply to: Can I use the navigation arrows for each category, not all? #127409I didn’t test this but you can try following code instead
add_filter('avia_post_nav_categories', 'use_same_category_filter');
function use_same_category_filter($same_category)
{
if(is_archive()) $same_category = true;
return $same_category;
}Hey!
Please try to add following code into the quick css field
a.alignnone, a.alignleft, a.alignright{
line-height: 1px;
}Regards,
Peter
Hey!
This field type is not supported at the moment but you can add your suggestion to the “features request” list. If you’re in a hurry I’d suggest to use a contact form plugin like Contact Form 7 or Formidable
Regards,
Peter
Hey!
Tbh it doesn’t surprise me that the plugin breaks other themes/plugins. It rewrites all paths and this can break the wp ajax api.
Regards,
Peter
Mir ist gerade aufgefallen, dass noch v1.7.1 bei dir am Server installiert ist. Kannst du bitte die letzte Version (1.8.4) von Themeforest installieren? Vielleicht liegt darin das Problem, da ich v1.8.4 auf meinen Server verwende. Eine Anleitung für das Update findet sich hier: https://vimeo.com/67209750
Hey!
You can deactivate the default menu. Go to Enfold > Sidebar and search for the “Page Sidebar navigation” option.
Regards,
Peter
I can’t reproduce this bug on my test servers. Please create me a wordpress admin account and send me the login data and more details (links to pages which work and link to pages which don’t work) to: (Email address hidden if logged out) – I’ll look into it.
July 31, 2013 at 12:07 pm in reply to: THE SOLUTION FOR PROBLEMS WITH IE (COMPATIBILY VIEW JUST THE OPPOSITE) #132357I did not test it yet but you can try the suggested code here: http://stackoverflow.com/questions/6348959/how-to-disable-compatibility-view-in-ie
In header.php replace
</head>
with
<meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; IE=EDGE" />
</head>First sorry for the late reply.
1) Insert following code into the quick css field
.fixed_header #header {
position: relative;
}2) Use following code
#top .social_bookmarks li a {
color: #333;
}
.social_header .phone-info span {
color: #333;
}
.social_header #top .sub_menu>ul>li a {
color: #333;
}3) Yes – the code seems to be ok. the “float” attribute won’t break the responsive design.
Hey!
Did you try to install the latest German translation file from the MarketPress devs: http://marketpress.de/support/topic/deutsche-sprachdateien-fur-woocommerce/ ?
Best regards,
Peter
Hey!
Please read https://kriesi.at/support/topic/advanced-layout-editor-dissappeared-please-help – does the thread solve your problem?
Best regards,
Peter
The portfolio items do not support custom fields out of the box but you can implement them with: http://codex.wordpress.org/Function_Reference/get_post_meta
You can insert the code in enfold/includes/loop-portfolio-single.php – i.e. insert it below:
the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>');
A sample code would be
the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>');
$mymeta = get_post_meta( get_the_ID(), 'mymetavalue' );
echo $mymeta;This code would display the content of the custom field with the key/id “mymetavalue”.
-
AuthorPosts