-
Search Results
-
Hi,
First I used Enfold 2.54. There I create a Child Theme for the adaption of the theme.
I put the file header.php to the folder of the child theme and added there the following code:<div id='header_meta' class='container_wrap container_wrap_meta'> ..... if($phone) echo "<div class='phone-info {$phone_class}'><span class='hotline_text'>Umzugshotline</span><span class='hotline_phone'>{$phone}</span><img src='http://www.schoeffl.at/wp_site/wp-content/uploads/Lkw_middle.png'><input type='button' onClick='window.location=\"http://www.schoeffl.at/wp_site/kontakt/anfrageformular\"' value='Anfrage' style='float:right;cursor:pointer;' class='inquiry' /></div>"; ...After upgrading the theme the header.php of the original theme has been changed. So that the section above now is found in
/includes/helper-main-menu.php.When I copy this file into the folder of the child theme, the changes of this will not apply. I hope, that I don’t have to change this in the original theme code, and I can copy it to the child theme.
Thanks, Daniela
Hi,
I was trying to upload a new icon font as described in your video here: http://kriesi.at/archives/enfold-version-2-3-say-hello-to-our-new-iconfont-uploaderOn a first attempt it seemd to wark, but in the layout editor the new icons were just weird nonsense.
On a second attempt (after deleting the first zip file) showd this error message after uploading:Couldn’t add the font.
The script returned the following error:
Fatal error: Call to a member function attributes() on a non-object in /homepages/1/d227302576/htdocs/f10_neu/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 182Can you help?
Thanks,
ArminDear support team,
First of all, thanks for the many updates. I really appreciate the time spent to continually improve the Enfold theme.
For approximately a year now, I am using your theme. In a child theme I worked with a style.css file for customization, as I wanted a centered logo and an always fixed to the top main menu, without a header secondary menu, social icons and phone number. Together with some tweaks in the header.php file, my custom css worked perfect together with the plugin UberMenu (to get a 100% full width). Until the recent major update.
With the new header option ‘Logo center, menu below’ selected as well as custom css in my child theme in the file style.css I am able to get the same effect as described above, only much easier. The problem I am facing, though, is that in Chrome the fixed to the top main menu is sometimes frozen in the middel of the screen (or somewhere else, but not fixed at the top) after a few times of scrolling. It seems to me, that my custom css is conflicting with your code, and at your forum I cannot find the right solution. Therefore, my following question: can you please advise me, which custom css to use to properly position the main menu above the centered logo and always fixed to the top. Nb. the logo should not stay fixed at the top like the main menu and I would like to keep it the same size.
The custom css I am using:
#header_main_alternate { background-color: #4d4d4d !important; position: fixed !important; margin-top: -151px !important; width: 100%; z-index: 500; height: 40px !important; border-bottom: hidden !important; border-top: hidden !important; } .av-main-nav > li > a { color: #f8f8f8 !important; } .html_header_top #top .av_header_stretch .container { width: 100%; } @media only screen and (min-width: 990px) { /* Add your Desktop Styles here */ .logo img { margin-top:57px !important; max-height: 80px !important; }Besides this css, I am also using custom css to style the UberMenu. And for the mobile views I also have some custom css to center the logo in a right way and to adjust the margins.
I am looking forward to hear from you, thank you in advance!
Best regards, Fleur
Hi,
at first thanks for this great theme. I love it.But I have a problem with the functions-php in my child-theme. I want to have the following modifications. The code I use is:
<?php
/* ————————————————————————————————————————–
Thumbnails
/* ————————————————————————————————————————–*/$avia_config[‘imgSize’][‘widget’] = array(‘width’=>80, ‘height’=>80);
$avia_config[‘imgSize’][‘square’] = array(‘width’=>300, ‘height’=>300);
$avia_config[‘imgSize’][‘square_small’] = array(‘width’=>180, ‘height’=>180);
$avia_config[‘imgSize’][‘gallery’] = array(‘width’=>450, ‘height’=> 300);
$avia_config[‘imgSize’][‘singlepic’] = array(‘width’=>600, ‘height’=>600 , ‘crop’ => false);
$avia_config[‘imgSize’][‘masonry’] = array(‘width’=>377, ‘height’=>377 , ‘crop’ => false);
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>1000, ‘height’=>450);/* ————————————————————————————————————————–
Sidebar
/* ————————————————————————————————————————–*/$avia_config[‘layout’][‘fullsize’] = array(‘content’ => ‘twelve alpha’, ‘sidebar’ => ‘hidden’, ‘meta’ => ‘two alpha’, ‘entry’ => ‘eleven’);
$avia_config[‘layout’][‘sidebar_left’] = array(‘content’ => ‘ten’, ‘sidebar’ => ‘two alpha’ ,’meta’ => ‘two alpha’, ‘entry’ => ‘ten’);
$avia_config[‘layout’][‘sidebar_right’] = array(‘content’ => ‘ten alpha’, ‘sidebar’ => ‘two alpha’, ‘meta’ => ‘two alpha’, ‘entry’ => ‘ten alpha’);/* ————————————————————————————————————————–
* Tiled Mosaic
/* ————————————————————————————————————————–*/if ( ! isset( $content_width ) )
$content_width = 800;And now my problem. It works fine, if I change the file in the parent-theme, but if I use this code as a functions.php in my child-theme, I get a blank page in my browser each time. So I have to overwrite the file again and again whith ervery update oft the parent theme.
Do you have any idea about this error?
Kind regards
CoraQuestion: hi i need to add Book Antiqua to enfold general styling and i have no idea on how to do it. I tried through the forums but i got locked our with a parse syntax error enfoldchildtheme function php line 7. that issue is resolved but i still want to add the font to the theme. any help would be great. I guess i would need a step by step or pictures plzz. thank you for your time. Brandon
Hi, I’m having issues with widgets not showing up in the footer and the masonry blog layout not showing up at all. Also the its causing my footer to have a huge height!
here is a screenshot
http://snappy-app.com/s/show.php?pass=e86d8c17fd39a0ca97a0305ad03de99eI really need help on this one, I’m running out of solutions.
Thank you
Topic: Desperate help!!
hi, i created a enfold child theme and edited the parent function php and now i have
Parse error: syntax error, unexpected ‘{‘ in /home3/bjr/public_html/wp-content/themes/enfoldchildtheme/functions.php on line 7.I downloaded filezilla and uploaded the enfold theme and found the functions php but i don’t know how to fix it from there. here is what it looks like:
<?phpglobal $avia_config;
/*
* if you run a child theme and dont want to load the default functions.php file
* set the global var below in you childthemes function.php to true:
*
* example: global $avia_config; $avia_config[‘use_child_theme_functions_only’] = true;
* The default functions.php file will then no longer be loaded. You need to make sure then
* to include framework and functions that you want to use by yourself.
*
* This is only recommended for advanced users
*/if(isset($avia_config[‘use_child_theme_functions_only’])) return;
/*
* create a global var which stores the ids of all posts which are displayed on the current page. It will help us to filter duplicate posts
*/
$avia_config[‘posts_on_current_page’] = array();/*
* wpml multi site config file
* needs to be loaded before the framework
*/require_once( ‘config-wpml/config.php’ );
/*
* These are the available color sets in your backend.
* If more sets are added users will be able to create additional color schemes for certain areas
*
* The array key has to be the class name, the value is only used as tab heading on the styling page
*/$avia_config[‘color_sets’] = array(
‘header_color’ => ‘Header’,
‘main_color’ => ‘Main Content’,
‘alternate_color’ => ‘Alternate Content’,
‘footer_color’ => ‘Footer’,
‘socket_color’ => ‘Socket’
);plz any help
Topic: font import
Hello,
I have updated my site to the latest Enfold version 2.7.1
When I try to import font from fontello, I get the following error message:
“Couldn’t add the font. The script returned the following error:
Warning: ZipArchive::open() [ziparchive.open]: Empty string as source in /home/ci7bodu0/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 105
Wasn’t able to work with Zip Archive”any suggestions?
Thanks
Tal


