Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.header_color .avia-tt { background-color: white; }
.header_color .ajax_search_image { color: white; }
Cheers!
Yigit
Hey Simon!
What font are you trying to use? You can only add google fonts to the Enfold > Style > fonts dropdown. Add this on functions.php:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
return $fonts;
}
Change the Source Sans Pro font with the font you’re trying to use. If you want to use fonts other than google fonts, please search google for font face integration.
http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
Cheers!
Ismael
I’m a Real Estate company trying to install a property search bot in my enold theme.
This bot comes from inmofactory, my actual CRM.
In they tutorial they ask me to:
1. To host inmofactory_helper.html in the root of my website
2. To write this code at the “head” section of every page where the “property search bot” will be shown:
<script type=”text/javascript” language=”javascript” src=”http://webcliente.inmofactory.com/scripts/jsiframe2014.js” ></script>
3.To write this code on every page where the “property search bot” will be shown:
<script language=”javascript” type=”text/javascript”>
parametros.componente = “Buscador”;
parametros.idpublicacion = “NNNN”;
new Ib2c(parametros);
</script>
My questions are.
1. How can I acces to the root of my website in order to host there inmofactory_helper.html?
2. I’ve tried to edit basecode from the page I created with in enfold template in order to place the scripts at the head setion and at the page qhere the bot is placed, but on the edit section of enfold theme I can only find a generic page.php Is that the one I have to edit? Because I could’nt find any indiviadualized page wich refers to the one I created with enfold.
Hey schoenj!
I suggest to use the free Codestyling plugin to translate the theme or to change the content of the current translation. Install the plugin ( http://wordpress.org/plugins/codestyling-localization/ ), go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and select your language and click the “create po-file” button. Click on “Rescan” to search for all text strings. Afterwards 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). Search for “Leave a Reply” and “Want to join the discussion?”, etc to translate the comment text strings.
Cheers!
Peter
I searched the forums and found this advice – seemed to work! If this is what you would recommend and it doesn’t affect anything else I wouldn’t want then this should be good now =)
Modify enfold/js/avia.js. Open up the file and replace
$.avia_utilities.avia_ajax_call = function(container)
{
with
$.avia_utilities.avia_ajax_call = function(container)
{
$('div,a,img').removeAttr('title');
Hi!
Please replace the code that I gave you with this:
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="search-text">'.__( 'Search', 'avia_framework' ).'</span></a></li>';
This will make the “Search” string translatable. If the translation is not automatic when you switch language, please use this plugin to translate the string: http://wordpress.org/plugins/codestyling-localization/
Please hire a freelance developer if you want to integrate the Choices’ or the Propulsion’s search form on Enfold.
You can set the facebook account on Enfold (En) and Enfold (Fr) separately. Switch between languages when you are on the wp dashboard.
Cheers!
Ismael
Hi dentaparks!
Probably there was an error when the database saved the settings and now the styling script can’t process the options. I recommend to delete the theme option database and to re-configure the settings. If you have a database backup you can also restore this backup to save some time. Use a tool like phpmyadmin to edit your database entries and open the wp_options table. Then search for an option called “avia_options_enfold” and delete it. Then you should be able to access the admin area and to re-configure the theme options.
Cheers!
Peter
I was recently asked to migrate a client’s website from our multisite network to a single site on his own server. I searched through some different topics and came up with a lot of complaints about theme owners having to painstakingly rebuild pages, import media files, etc from the ground up. I noticed one post that Kriesi made that made it extremely simple to launch the site on his new server in about 10 minutes. This is a little tutorial to get it done.
1. After you have set up WordPress on your new host, install your theme (in my case – Enfold)
2. Install any associated plugins needed
3. Go to the dashboard of the site where you are migrating from and add ?avia_export at the end of the url. It will look something like this – http://yourdomain.com/wp-admin/?avia_export
4.This will this generate a base64 encoded option set that you can to the dummy.php file in themes/includes/admin/dummy.php of your theme. Replace the existing content with the new.
5. Go to tools on your existing site and export all content as an xml file. Once on your computer, rename dummy.xml.
6. On your new install, go to themes/includes/admin and replace the dummy.xml file with the file you just created.
7. Log into the dashboard of your new install, click the theme options navigation link (in my case, “Enfold”) in the back-end and click the import dummy data button. This will import all the images/content/layouts, etc.
8. Click the back-end navigation option for settings > permalinks and adjust your permalinks as needed.
9. Importing the dummy data imports your layerslider images, but you may have to go into your sliders and adjust any image links IF your paths are different. In my case I went from multisite to single site so I had to adjust the link prefix accordingly.
That’s it!
Hi,
I updated the theme to 2.5.4 using the Theme Update option within Enfold Theme Options. The problem of the responsive menu on iPad remains unchanged. The site appears exactly the same on iPad in terms of the header menu (see previous screenshots).
Some of my current Enfold Theme Options settings are as follows:
Header Type: Small Fixed Header
Append search icon to main menu: Unchecked
Responsive Header Main Menu: Display as Slide Out Menu
Quick CSS:
.main_menu ul:first-child > li > a {font-size:15px;}
.title_container .breadcrumb {
display: none !important;
}
#js_sort_items .sort_by_cat a{
font-size: 16px;
}
h1.main-title.entry-title {
font-size:24px;color:#000000;
}
.header_color .main_menu .menu ul li a:hover {
background-color: #eae2db;
}
/*ROLLOVER/CURRENT MENU DECORATION*/
.header_color .avia-menu-fx {
background-color: #423222;
}
.header_color .avia-menu-fx .avia-arrow, .header_color .main_menu ul:first-child >li > ul, #top .header_color .avia_mega_div > .sub-menu {
border-color: #423222;
}
.alternate_color .avia-icon-list .iconlist_icon, .main_color .avia-icon-list .iconlist_icon { background-color: #423222; }
#top #gform_4 input[type=”text”],
#top #gform_5 input[type=”text”],
#top #gform_6 input[type=”text”],
#top #gform_7 input[type=”text”],
#top #gform_9 input[type=”text”],
#top #gform_10 input[type=”text”],
#top #gform_11 input[type=”text”] {
width:474px;
}
Thanks!
This reply has been marked as private.
Hey!
You can’t simply display a contact form within the lightbox. The only solution prettyphoto supports out of the box would be an iframe (some demo code can be found here: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/ ) but the iframe displays the entire website (including header, footer, etc.) and the user would need to scroll to the contact form (within the lightbox window) which is not very user friendly and imo it doesn’t look professional. Maybe a dedicated modal form plugin from the plugin repository: http://wordpress.org/plugins/search.php?q=easy+modal will help you though. I haven’t tested them with Enfold or LayerSlider yet.
Cheers!
Peter
I have absolutely no problem seeing my entire site or the layer slider on my mac or phone or tablet, but cannot get the layer slider to open on a windows 8 machine with IE10 or Chrome. I’m sure you have answered this 1,000,000 times but i cannot locate the link in searches.
http://www.moceancapecod.com
the bottom slider works fine on all OS.
Also, what dimensions should images be for the layer slider above and for the easy slider below to load quickly and accurately?
Thank you for the great support you guys provide!
~Ryan
Actually: I’ve done a bit more research on this. PrettyPhoto (which you are using in Enfold) comes with Facebook, Twitter and Google+ share buttons since version 3.1.1:
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
Is there a way of activating them in Enfold??
Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
@media only screen and (max-width: 767px) {
#layerslider_14 span {
font-size: 15px!important;
}}
Best regards,
Yigit
As far as I can see WPML searches for theme translations in the “MO file in /wp-content/themes/enfold” folder, however the enfold files are kept in “/wp-content/themes/enfold/lang”.
Is there a setting somewhere I should change somewhere, or perhaps I am misunderstanding the way it works?
-
This topic was modified 12 years ago by
dngood.
Thank you so much Ismael,
But I think I would be better that the theme search could find posts by tag terms by default, instead of installing a plugin. For what are tags then? One of the capabilities of the tags is to group posts, the other is for SEO and internal search purposes. In that case, at this moment tags search doesn´t work as expected in Enfold.
Regards.
-
This reply was modified 12 years ago by
Pablo.
Hey Pablo!
How are you? I hope you’re doing well today.
You can use this plugin to maximize the search power of your website: SearchWP
Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/
Best regards,
Ismael
Hi,
What I have done to solve the Problem with font face:
1. I tried to deaktivate alllplug-ins.
2. and added to .htacess:
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff woff
<FilesMatch “\.(ttf|ttc|otf|eot|woff|font.css)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>
3. and to child css:
@font-face {
font-family: ‘entypo-fontello’; font-weight: normal; font-style: normal;
src: url(‘http://medientanz.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?v=2’);
src: url(‘http://medientanz.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?v=2#iefix’) format(’embedded-opentype’),
src: url(‘http://medientanz.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff?v=2’) format(‘woff’),
src: url(‘http://medientanz.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf?v=2’) format(‘truetype’),
src: url(‘http://medientanz.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg?v=2#entypo-fontello’) format(‘svg’);
}
No effect! Font face fonts still broken
fonts are broken in firefox and in iexplorer (with chinese symbols!!!!),
Chrome and Safari are OK!
4. And I have done a little test: I uploaded an own fontello font zip: This own font is working in all browsers!
but i need the working font face fonts! (search button etc)
And again: With the older version, 2.50 there was no problem with font-face.
Is there a theme update in the pipeline to solve that problem?
http://medientanz.de
Thanks! Thomas
Hi!
Can you post the link to your website so we can check what type of header you are using? You can also check it in Enfold theme options > Header tab
Regards,
Yigit
Hey!
Please add following code to Quick CSS as well
.header_color .main_menu ul { background-color: transparent; }
#header_main_alternate { background-color: white; }
You can remove the Search icon in Enfold theme options > Header > Append search icon to main menu
Regards,
Yigit
Hi!
1) Füge diesen Code in functions.php ein:
add_filter('avf_form_mail_field_values', 'avia_change_checkbox_return_values', 10, 4);
function avia_change_checkbox_return_values($value, $new_post, $form_elements, $form_params){
if($value == 'false') $value = 'Nein';
if($value == 'true') $value = 'Ja';
return $value;
}
2) Mit diesen CSS Code:
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
color: #919191;
}
und den Farbwert #919191 entsprechend anpassen :)
3) Danke. Wir werden diesen Fehler mit dem nächsten Update verbessern. Wenn ihr es jetzt schon anpassen wollt müsst ihr die Übersetzungsdateien mit Codestyling bearbeiten – siehe: https://kriesi.at/support/topic/translator-plugin-in-enfold/#post-222120
Regards,
Peter
UPDATE: I found the issue. My login plugin (http://userproplugin.com/) conflicts with Enfold. My question now is there any way around this? It must load some offending javascript but I am afraid I am not much of a coder so I may have to find a new plugin.
Any advice is appreciated. Perhaps a login plugin that is thoroughly tested with Enfold?
Hi all,
After searching the forums, I’m stumped. I am trying to create a fullwidth easy slider with a static height and to a certain extend, I’ve been successful… but it requires me to manually resize each image with the same height and variable width.
I am using the fullwidth easy slider in Enfold and assigning a height value via custom css. Is there a way to automatically resize the photos inserted into the fullwidth easy slider to match?
Thank you!
Hi!
1) Yes – see: http://stackoverflow.com/questions/11817950/what-is-data-serialization – the important thing for you is that you can’t manipulate text stored as serialized data without changing some other values. I.e. if you replace:
s:5:"hello"
with
s:5:"hello world"
the data wouldn’t be valid because php just searches for 5 characters and the text string “hello world” now has 11 characters. If you replace all occurrences of “world” with “hello world” in your database you also must make sure that the character count will reflect the change and increase/decrease the value accordingly. In this case
s:11:"hello world"
would be correct. The migrate script will take care of this issue.
2) Yes, Enfold generates a dynamic stylesheet. However it does not store the options in the stylesheet but in the database and the stylesheet is just the output. The stylesheet will have the name of the current selected theme – if you activate a child theme you can delete the dynamic stylesheet of the enfold parent theme (enfold.css).
Cheers!
Peter
I am trying to change the Font-Size in the Latest News widget in the footer of my Enfold themed WordPress install, but am coming up unsuccessful. I would like to increase the size of the blog post titles within this widget and remove the italic styling to it as well.
I have searched the forum and the only thing I can find is this, but when I add it to my install it does not work.
.newsbox .news-headline {
font-size: 16px;
}
Hi fonterra!
No, you cannot create a search page in WP admin. You should modify theme files such as loop-search.php file inside wp-content\themes\enfold\includes and search.php file in wp-content\themes\enfold
Best regards,
Yigit
Hi!
Thank you for the feedback!
Cheers!
Peter
Hi!
1) The sort/filter feature is based on js/jquery and does not use php or ajax. You can modify the code in enfold/js/avia.js – search for:
$.fn.avia_iso_sort = function(options)
If you just want to modify the query which displays the grid items you can modify the operator in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php – search for:
'tax_query' => array( array( 'taxonomy' => $params['taxonomy'],
'field' => 'id',
'terms' => $terms,
'operator' => 'IN')));
and change the operator parameter
'operator' => 'IN'
to
'operator' => 'AND'
You can also use a filter function in your child theme:
add_filter('avia_post_grid_query', 'avf_custom_post_grid_query');
function avf_custom_post_grid_query ( $query ) {
if(!empty($query['tax_query']['operator'])) $query['tax_query']['operator'] = "AND";
return $query;
}
2) No, it’s currently not possible to pre-select a category by passing a parameter. However I’m sure you can implement it with some hours of work (maybe 2-3 hours including testing).
Cheers!
Peter
Hey fortuneRice!
You can use this plugin: http://wordpress.org/plugins/codestyling-localization/
Look for the Enfold theme then edit the language that you want to translate. Look for the strings using the string search field.
Best regards,
Ismael