Forum Replies Created
-
AuthorPosts
-
Hi,
To apply this to your child theme, copy the \wp-content\themes\enfold\framework\php\class-form-generator.php file to your child theme folder, then make the edits above, and find following line at the top file:<?php if ( ! defined( 'AVIA_FW' ) ) exit( 'No direct script access allowed' );
and change it to
<?php
then add following line to functions.php file of your child theme
require( 'class-form-generator.php' );
Best regards,
MikeHi,
Try this code in the General Styling > Quick CSS field:@media only screen and (max-width: 766px) { .responsive #top #main {margin-top: -80px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} }
Best regards,
MikeHi,
Thank you, please try this code in the General Styling > Quick CSS field:.slide-content span.av-vertical-delimiter { display: none !important; }
Best regards,
MikeJune 8, 2018 at 5:54 am in reply to: Adding titles to specific portfolio item when displayed in Lightbox #969945Hi,
a. to enable only on this one page I changed the code to:.mfp-title,.mfp-counter { display: none; } #top.postid-10774 .mfp-title { display: block !important; color: #000 !important; text-align: center !important; }
b. sorry in this case please try changing the caption text to reflect the title text you wish it to show.
c. the numbers are hidden from the solution in part a.
d. the text is centered from the solution in part a.
Please clear your cache and check.Best regards,
MikeHi,
Sorry to hear that, we will need to improve this. If you wish to continue without the demo I understand, please accept our apologies.
Shall we close this then?Best regards,
MikeHi,
When I test the above function with the autoresponder on I find that it is sending the autoresponder email, but the “to” address is the one in the function instead of the from field address of the visitor. The emails are probably going to your spam folder.
I found a way around it by editing your \wp-content\themes\enfold\framework\php\class-form-generator.php file if you would like to try.
Go to line 862, above:$from = urldecode( $from ); $from = apply_filters("avf_form_from", $from, $new_post, $this->form_params);
and add:
$from1 = " (Email address hidden if logged out) ";
then go to line 925 and change:
$header .= 'From: '. $from . " <".$from."> \r\n"; wp_mail($send_to_mail, $subject, $message, $header); } else { $header .= 'From:'. $from . " \r\n"; mail($send_to_mail, $subject, $message, $header);
to:
$header .= 'From: '. $from1 . " <".$from1."> \r\n"; wp_mail($send_to_mail, $subject, $message, $header); } else { $header .= 'From:'. $from1 . " \r\n"; mail($send_to_mail, $subject, $message, $header);
Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
MikeJune 7, 2018 at 1:41 pm in reply to: the content of the ajax portfolio preview has doubled suddenly #968753Hi,
Glad to hear. Typically the only reason to add a file to a child theme is to preserve a code customization that has been made to it.
We will leave this open until you can find out if this is true for you, and if we need to assist with a solution that will not cause the same error.Best regards,
MikeHi,
I’m sorry to hear that, I have not heard of a hosting company that doesn’t support the basic WordPress settings. We certainly will be happy to assist in the future with your new webhost.Best regards,
MikeHi,
Ok, lets number these so I can keep track,
1: for the code that was making the media library page portfolio not show, but was needed for other pages, I added a custom class to the media library page portfolio and then added this css to Quick CSS:#top .media-library.grid-sort-container .media-library_sort { display: block !important; }
2: to remove the portfolio grid sort options (categories) from the projects pages, I recommend changing this option in the element, just change “Sortable” to “No, do not display sort options”
But if you really want to use css, try this in your Quick CSS:#top.single-portfolio div.sort_width_container.av-sort-yes { display: none !important; }
3: To remove these Media Library portfolio items from the projects pages, I went to the link and at the bottom of the page I didn’t see any items with media play icons on them. But if I did I would recommend excluding that category from your portfolio grid, by holding the control key down while clicking all of the categories you wish to show:
Please review these and let us know which number still needs attention, or if I misunderstood any please explain further.Best regards,
MikeHi,
I found an error in your css, I don’t believe that I did that, if I did then sorry. I corrected.Best regards,
MikeHi,
Sorry I’m not sure how downloading Filezilla can crash your site or cause a security breach for your website, but for clarity here is How to use FTP to upload files to WordPress for Beginners
But you can also upload your theme with your webhost file manager, here are some steps using the file manager in cPanel, which is what most hosts use.Please be sure to delete your current /enfold/ folder in /wp-content/themes/ before uploading your new enfold theme.
If you feel unsure about these steps, I would be happy to assist if you include ftp access, or your webhost access in the Private Content area.
Best regards,
MikeHi,
If I understand correctly you want the logo which is set in the Theme > Header > Transparency Options to show before scroll.
You had a couple of errors in your Quick CSS which I corrected, here is the correct code:#top .av_header_transparency.av_alternate_logo_active .logo a > img { display: block; opacity: 0 !important; }
Your logo image a quite small, please try linking to a larger image in Theme > Header > Transparency OptionsBest regards,
MikeJune 7, 2018 at 3:38 am in reply to: the content of the ajax portfolio preview has doubled suddenly #968155Hi,
I have found that disabling your child theme shortcodes.js, by removing your enqueue script from your functions.php solves your issue:function wp_change_shortcodesjs() { wp_dequeue_script( 'avia-shortcodes' ); wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 2, true ); } add_action( 'wp_print_scripts', 'wp_change_shortcodesjs', 100 );
Please check.
Do you have custom coding in your child theme shortcodes.js? Do you really need it?To answer your question about deleting and uploading of the theme, this is a easy process that you can do yourself.
1: Using either FTP or your webhost file manager, go to /wp-content/themes/ and delete the folder /enfold/
1a: if this worries you, you can also rename it to /enfold-old/ to deactivate it.
2: Then upload your new version, or fresh copy, of enfold to the same place as /enfold/
3: Now go to your site and refresh your browser, and your done.
*note that once in a while you will get a message in your browser window, “Briefly unavailable for scheduled maintenance. Check back in a minute.” This is WordPress getting it’s self ready for the new version of the theme or plugin and is normal, and refreshing your browser should solve. If goes on for a long time, check this solution
3a: If all is working well then you should delete your /enfold-old/ folder as it is not needed and will make your “Themes” option page in WordPress look confusing. If the new theme update causes issues and you want to go back to the way it was, then delete the new /enfold/ and then rename the /enfold-old/ back to /enfold/
Hope this helps.Best regards,
MikeHi,
When I look at your blog page, the posts look different. Did you change styles, or is there another page?
Please see screenshot in Private Content area.Best regards,
MikeHi,
The team tried changing file permissions via SSH and while they got a success message, reviewing the files in FTP still shows the folders as 700 and we don’t know why, sorry.
Please try asking your webhost again.Best regards,
MikeHi,
I wasn’t able to, I’m asking the team for help.
Thanks for your patience.Best regards,
MikeJune 6, 2018 at 12:11 pm in reply to: Adding titles to specific portfolio item when displayed in Lightbox #967798Hi,
I have found the issue, it was this script in your custom-js.js:$('[title]').mouseover(function () { $this = $(this); $this.data('title', $this.attr('title')); // Using null here wouldn't work in IE, but empty string will work just fine. $this.attr('title', ''); }).mouseout(function () { $this = $(this); $this.attr('title', $this.data('title')); });
I have commented it out so you can see the title now works.
the color of the lightbox title and counter was very light and hard to see once the script was deactivated, so probably why we missed it the first time. I added this code in the General Styling > Quick CSS field for now so you could see it:.mfp-title,.mfp-counter {color: #000 !important;}
Please clear your browser cache and check.
Best regards,
MikeHi,
This is because of this code in your Quick CSS:#top .grid-sort-container .grid-entry .inner-entry { min-height: 305px; }
Please link to the page that you want this code to work for so we can adjust the code to only work on that page and not effect this page.
Best regards,
MikeHi,
I see that you are referring to the shortcodes.css in the Enfold version 4.2.2, is this correct?
If you update to v4.4.1 you will find that this code doesn’t exist now.Although I don’t understand your statement “I modify the follow content, but don’t get it”
Do you mean that you don’t understand it?Best regards,
MikeHey Lara,
You have this code in your Quick CSS:#top .grid-sort-container .media-library_sort { display: none; }
I commented it out so your portfolio will show now. Please clear your browser cache and check.
Also check if there was another element on a different page that you wanted to use this code for so we can adjust it to work on that page.Best regards,
MikeHey Lara,
Thank you for the login, I added this code in the General Styling > Quick CSS field:.container_wrap { border-top-style: none!important; border-top-width: 0px!important; }
Please clear your browser cache and check.
Best regards,
MikeHey Kirstie,
I see you are using version 4.4, please update to v4.4.1, and if this doesn’t help, Can you please include a admin login in the private content area so we can take a closer look.Best regards,
MikeHey altmark99,
I see that clicking your /moebelbau/ link in the Private Content area does go to /moebelbau#kuechen
the same is with manually typing it in.
I also see that /innenausbau/ goes to /innenausbau#tueren
I have looked in your functions.php for a redirect script but didn’t find one, do you recall setting up a redirect on your webhost?
Please try disabling your plugins and clear your cache plugin & browser cache.
If this doesn’t help, please include FTP access in the Private Content area so we can take a closer look.Best regards,
MikeHi,
Please try using our prebuilt Child Theme
Enfold already enqueueds the child theme css so it is not necessary to do it again.
Please note that if you have the Enfold Theme Options > Performance > JS & CSS file merging and compression turned on, and add css to your child theme, you will need you rebuild your merged files, to do this please go to Enfold Theme Options > General Styling > Quick CSS field and add a blank space, to enable the “Save all changes” button, and then save.
It is better to have the JS & CSS file merging and compression turned off while you are developing your site.Best regards,
MikeHi,
I was able to login to your WordPress site, but I was not able to login via FTP, please check.
I notice that you have started creating you site, do you still wish for a manual install of a demo?
I see that you understand that in doing so you will lose all content and settings.
I also see that you asked for the standard demo but please note that this demo doesn’t include all of the demo images that are in the version you see online, perhaps you would be interested in the 2017 Demo which does include all of the demo images?
Please let us know your choice and check your ftp password.Best regards,
MikeHi,
I wanted to give you a update, the dev team is working on it, and has come up with one fix, but after testing it showed to need a little more work.
We hope to have a solution for you soon, thanks for your patience.Best regards,
MikeHi,
I took a look at your page, but only saw the text once as the heading. Please see screenshot in Private Content area.
While it could be hidden with:.entry-content-header { display:none !important; }
I’m not sure if you want to hide it for every page or just this one.
Best regards,
Mike -
AuthorPosts