Forum Replies Created
-
AuthorPosts
-
HERE IS THE FULL CONTENT OF THE FILE:
<?php /*
This file is part of a child theme called ProSouth.
Functions in this file will be loaded before the parent theme’s functions.
For more information, please read*/
// this code loads the parent’s stylesheet (leave it in place unless you know what you’re doing)
function your_theme_enqueue_styles() {
$parent_style = ‘parent-style’;
wp_enqueue_style( $parent_style,
get_template_directory_uri() . ‘/style.css’);wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array($parent_style),
wp_get_theme()->get(‘Version’)
);
}add_action(‘wp_enqueue_scripts’, ‘your_theme_enqueue_styles’);
/* Add your own functions below this line.
======================================== */
// Add NextDoor to Social Profiles in Theme Options
function avia_add_custom_social_icon($icons) {
$icons[‘Nextdoor’] = ‘Nextdoor’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);I tried this same thing but on the functions.php in my child theme it did not like the last line.
I got this:
Your PHP code changes were not applied due to an error on line 35 of file wp-content/themes/ProSouth/functions.php. Please fix and try saving again.
Uncaught Error: Undefined constant “‘avf_social_icons_options’” in wp-content/themes/ProSouth/functions.php:35
Stack trace:
#0 wp-settings.php(695): include()
#1 wp-config.php(100): require_once(‘…’)
#2 wp-load.php(50): require_once(‘…’)
#3 wp-admin/admin.php(35): require_once(‘…’)
#4 wp-admin/theme-editor.php(10): require_once(‘…’)
#5 {main}
thrownGuenni007 – thanks for this solution! That works perfectly. Take care and thanks again. Chris
Thank you. I made a 500 x 10 pixel jpg filled with white and used it as my fallback image and that fixed it. Thank you.
ChrisHere is a screenshot from my iphone.
https://img.savvyify.com/image/IMG-4818.yyiLL
Thanks!
ChrisThank you! We are all good now. So appreciate you sticking with us.
Take care,
ChrisI did see that page : https://webers-testseite.de/sam/ and it is fine.
In the past, the when I put in a mobile fall back, it makes two spots, the video and then the image below, so I don’t use the fall back if possible.
BUT, you were on it for sure, I made a 400px x 10px clear image and used it for the fallback and the big blank space and missing pic icon are gone!!!
Thank you so much!
ChrisThese were all good things to try, sorry to let you know, this still didn’t work.
I updated Enfold to 7 and I applied all the ideas to a test page started from scratch – https://samsneadslely.com/hometest/
I also removed any other css in QUICK CSS too.Can anyone there look at https://samsneadslely.com/hometest/ on a real iPhone and let me know?
Also, feel free to login and look and make changes, I am desperate at the point.The homepage is live and my customer is getting pretty impatient now!!
Please help!!
ChrisSo sorry to be a pain but (if I did it correctly) it still is showing the big blank space and the missing image icon on the page on a real iPhone. The simulator doesn’t show it nor narrowing your window to a cell phone shape, but on a real iPhone, I still see it.
Please login and take a look again – if you have an iPhone, take a look.
Thanks
Chrisyes, the column has “hide on mobile”
I removed the ID and Class on the image and still see the big blank space on my iPhone
Do you still see it?
Thanks
CcI do want to hide the overlapping – clear background golfer on mobile. It is great on desktop, love the look, but on mobile, it is too small to cover at all. I have built and customize many sites on Enfold, the show/hide works almost all the time. Does this help you understand what I am trying to do?
I did make a reproduction page top and made it exactly like the homepage – from scratch, not making templates out of the elements, using same settings and set up. It was the same result. I also made other changes experimenting with the image, z index and hiding… same result. Switched the columns where the image was, same result.
https://img.savvyify.com/image/IMG-4759.y8rhx
I am at a loss to what to try next.
Please help.
Did I give credentials? I will add them just in case below.https://img.savvyify.com/image/0.y8XdM is the image my client took on his iPhone
Good afternoon. I am still getting this “missing image” icon with blank space on my iPhone 16.
Unfortunately so is my client that I built the site for. The site is now live at https://samsneadslely.com/
and I am at a loss at what to try…but it is definitely an issue. Please help!
It may be fine on an android but iphones show this issue.You may just try it on your phone directly – https://new.samsneadslely.com/ and see what you see. Thanks
Here you go – https://img.savvyify.com/image/IMG-4642.9w90z
When I look at this homepage on mobile screen simulators like FireFox and Chrome – it looks fine, but on a real phone, mine is a iPhone 16 I see the missing image blue box with a ? – Please let me know what you are seeing. Can you help? I have two things working to hide the second image on mobile. Thanks again, ChrisThank you! You have a great product. I used LayerSlider. Most sites, I turn that off and remove plugins and slides.
It was useful in this case on this website.
ChrisJust another note, I guess it doesn’t have to be a grid row, could be a color section with 2 col x 2 row with no space with images in the background of the column? just need the logo to float exact center to be in the intersection of the four boxes.
Does that help?
Thanks in advance for any help.
ChrisThank you. I replaced the code block with the google map embed code with a widget. I made a widget called MAP and used the HTML element in it with the same google map iframe embed code and it works. I can see the map on the site and still click and edit the COLOR SECTION. Appreciate as alway your help. Great theme! Chris
Thank you for the detailed response. When I went to the server settings, this account is on a Plesk server. I went to the PHP Settings and tried to match what I saw in your screenshots and adjust. I made a screenshot BUT CAN’T see where to attach it. It did not match your screen. I made the changes that I could but still not working
Sorry this is a pain. ChrisIf you login to the backend, go to the FOOTER page, click on the EDIT link on the COLOR SECTION, you will see only a blank white box, nothing to edit.
There is a background pic with a color overlay in it and set to FIXED. The client is asking for a change in the OVERLAY and we can’t make the change.
Please let me know if that helps.
Thanks
ChrisIt was on the https://new.fiermanlawfirm.com/ site we are creating. I put the crendentials in the private section. The footer page is the one with the faultly color section in it
The issue I am having is if I click on the COLOR SECTION on that page to edit the colors or overlay on the image, nothing opens. I can edit all the columns, text, code… the COLOR SECTION itself is my issue.
Does that help?
Thanks
CcTHE PAGE THAT HAS THE ISSUE WITH THE COLOR SECTION IS – “footer” there is only one color section there with some columns.
When I need to make any changes to the background or setting of the color section, I have to make a new one and make adjustments, pull the columns into the new one, then delete the old one. It won’t let me edit the color section element itself.
I have purchased a new/latest theme and uploaded it to the server and extracted the zip – replace the existing.
We do have a child theme in place as you will see.
Thank you – great theme.
Chris CookThank you in advance.
You can close this ticket – you guys are great.
I think I figured it out. I rebuilt instead of cloning the first row on the second and it got rid of the issue.
thanks again!!Wow – thanks for the speedy response!! I followed the directions (as far as I know) set the columns to Equal Height and MIDDLE used the css you supplied. It looks real close on the top row – the second column is not as tall as the live website we are trying to recreate but the second row didn’t work – I am sure I did something wrong.
https://zebgrant.mswebhosting.net/services/ is our new WordPress/Enfold
https://www.zebgrantdesign.com/services is the live Square sitecan you tell what I did wrong? Sorry to have to ask for more help.
Take care and thanks in advance,
ChrisMarch 21, 2024 at 6:54 pm in reply to: dynamic_avia creating huge amounts of data for some reason? HELP #1437813Thank you. I deleted all of the repeated files except the last two days and the website is loading fine. I also did the advanced options on the WP bug as the article shows. I will do this on all my Enfold sites. I selected the DELETE OLD CSS and JS to YES at the bottom of that page and clicked SAVE.
Thanks again!
Chris CookMarch 21, 2024 at 5:25 pm in reply to: dynamic_avia creating huge amounts of data for some reason? HELP #1437793Thank you for this article.
Is it safe to delete the huge # of files in that folder or would that cause an issue?
Thanks
Cc -
AuthorPosts