Forum Replies Created
-
AuthorPosts
-
Hi, I don’t think I explained myself very well. I have uploaded and inserted the zip file. But, when I go to my general settings, I do not see the “Custom Uploaded Fonts” section like there is in the example you sent over. The fonts are also not displaying on my website even though I uploaded the fonts specified in my css. I downloaded the .zip file straight from Google fonts, is there another format I should be uploading it in?
Sorry, the website went down temporarily last night while we transferred the domain to another account. I downloaded the .zip file from Google Fonts and uploaded it under the Import/Export tab, but nothing happened. It shows up in my Media Library, but when I go to my General Settings, it does not show any “Custom Uploaded Fonts” in the menu like it does in the article above.
The problem is that what is in the code is not matching up with what is showing up on the website. When I use a font finder plug-in, it shows that all of the em tags are showing up as Open Sans Regular (400) even though the code says that they should be Open Sans Regular Italic (400i) and all of the strong tags are showing up as Open Sans Semibold (600) but the code says Open Sans Bold (700). I’ve tried clearing my cache and testing in a different browser, but I keep having the same display issue. The site is supposed to go live soon, so any help would be appreciated!
- This reply was modified 6 years, 7 months ago by MJM.
http://valleyeyeassociates.com/wp-admin
There is a double-password on this site because it isn’t live yet, so you’ll need to enter this password to get to the WP login page:
Thanks!
- This reply was modified 6 years, 7 months ago by Victoria.
That worked great! Thank you!
That worked perfectly. Thanks so much!
That worked great for the sections where they can select multiple options, but not for the dropdown menus. Is there any way to change those? Thanks!
That worked perfectly. Thanks so much!
That worked! Thank you!
Never mind! I was able to find a work around. I just pasted the button shortcode into the “Phone number or small info text” box under Header settings and it works perfectly. A much simpler solution :)
Perfect! Thank you so much for your help!
Here you go!
Never mind! I discovered that I was using the old form of Google Analytics. I updated the code as explained in the link below and now it works great!
https://developers.google.com/analytics/devguides/collection/analyticsjs/
This thread can be closed. Thanks!
- This reply was modified 6 years, 11 months ago by MJM.
This topic can be closed, thanks!
This topic can be closed, thanks!
This topic can be closed, thanks!
That worked great. Thank you!
Thanks for the information. I have decided not to do a current state style because I don’t want to add a bunch of extra code.
Is there a way to change the hover state in css or would I also have to add code to functions.php?
Thanks!
I was able to figure out what the problem was. I hadn’t deleted the filter from the parent Enfold file, so they must have been conflicting. Thanks for your help with this! This topic can now be closed.
I have set up a child theme, but every time I try to install it, the site shuts down with an “HTTP 500” error.
The problem is with the functions.php file, because when I upload a blank functions.php, it works. But, in order to get the fonts I want, I need to add them to my functions.php. This is what my functions.php file looks like when I get the error:
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Merriweather'] = 'Merriweather:400,400i,700,700i'; $fonts['Merriweather Sans'] = 'Merriweather Sans:300,300i,700,700i'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Merriweather'] = 'Merriweather:400,400i,700,700i'; $fonts['Merriweather Sans'] = 'Merriweather Sans:300,300i,700,700i'; return $fonts; }
Do you see anything here that would cause the site to crash? Thank you!
- This reply was modified 7 years, 2 months ago by MJM.
I was able to solve this by installing my own fonts in the function.php using this tutorial: https://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
This thread can be closed, thanks!
I did decide to add my own fonts to the functions.php. I am not using a child theme, so when the theme updates, will I have to add the code back into the functions.php?
Are there any fonts that come installed with Enfold that have the actual italic and bold weights included?
Thanks for the response. I decided to use Droid Serif because it was already installed with Enfold and I wanted to avoid any custom code for this website. Is there a reason why the italic weight is not already installed? I am having the same problem with bold in Droid Sans. Are all of the fonts that come pre-loaded with Enfold only available in regular weight?
That worked great! Thank you!
That worked perfectly! Thank you!
That worked! Thanks, Ismael! This topic can be closed.
That changes the text on the search dropdown, but what I’m trying to change is the text on the actual search page.
Example page: http://mjm.flywheelsites.com/?s=dsfdsd
Thanks!
Thanks! That solved one of my problems of removing the text under “New Search.”
I would still like to change the text “Sorry, no posts matched your criteria. Please try another search” and “You might want to consider some of our suggestions to get better results:” I added the following code to my functions.php file as instructed, but am not sure what to do next to actually update the text. I am using a child theme.
add_filter('avf_ajax_search_messages', 'my_search_text', 10,2); function my_search_text ($search_messages, $search_query) { // possible values to change: // // $search_messages = array( // 'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'), // 'another_search_term' => __("Please try another search term", 'avia_framework'), // 'time_format' => get_option('date_format'), // 'all_results_query' => http_build_query($_REQUEST), // 'all_results_link' => home_url('?' . http_build_query($_REQUEST)), // 'view_all_results' => __('View all results','avia_framework') // ); $search_messages ['no_criteria_matched'] = 'your message text to replace'; return $search_messages; }
Thank you!
I added this code to my functions.php file, but am not sure what to do next:
add_filter('avf_ajax_search_messages', 'my_search_text', 10,2); function my_search_text ($search_messages, $search_query) { // possible values to change: // // $search_messages = array( // 'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'), // 'another_search_term' => __("Please try another search term", 'avia_framework'), // 'time_format' => get_option('date_format'), // 'all_results_query' => http_build_query($_REQUEST), // 'all_results_link' => home_url('?' . http_build_query($_REQUEST)), // 'view_all_results' => __('View all results','avia_framework') // ); $search_messages ['no_criteria_matched'] = 'your message text to replace'; return $search_messages; }
Can you tell me where I need to go to actually edit the text? I am not very familiar with php, so I would appreciate the help! I would also like to completely remove the text “If you are not happy with the results below please do another search” under “New Search” completely. Thank you!
-
AuthorPosts