Forum Replies Created
-
AuthorPosts
-
Hi Rikard
So I can add the code in the Google analytics box within Google Services, In addition to the Google analytics code I already have?
See content and advise if this is correct?Ref if I pout the script in the header.php
Does the code go in a certain place? eg code goes where the wording is below: Scripts/CSS and wp_head hook?>
<!– Scripts/CSS and wp_head hook –>
<?php
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/wp_head();
Hi,
OK, so I took your advise on installing the Child Theme as per the documentation here: https://kriesi.at/documentation/enfold/child-theme/
I actioned all 4 steps as per the wordpress option including point 4 exporting and importing parent enfold theme settings.
Unfortunately many of the style settings are not showing from the Enfold parent theme settings imported. They all look to be set/showing in the Child theme options BUT not showing when live.
I have recached as advised a few times but the issues are the same.So I reverted back to the Enfold parent theme and uploaded the fallback Enfold theme setting HOWEVER this is now showing the same issues as above – many of the styles/fonts are not visible, even though they are set in the theme options.
Can you help please as it looks like the install of the child theme has bombed the styles on the site, even if I revert back to the Enfold theme.
Thanks
MarcusThanks
If I have another script that I need to add, where in the is best to place the script in the header php?
Can you send a screen capture for where to place?
Thanks
MarcusHi
I am a little confused.
Are you saying best to add the script within Child theme > functions.php
As below?
Thanks
Marcus//——————————-
// Custom script in head section
//——————————-function custom_script_name(){
?>
<script>// Your script here
</script>
<?php
}
add_action(‘wp_head’, ‘custom_script_name’);Hi,
Until I have the child theme set, can I add script in Theme header.php?
Is the correct area to add straight after the hook –>
<!– Scripts/CSS and wp_head hook –>
<?php
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/wp_head();
Please confirm
Thanks
Thanks
There is still a large gap between the text and button when I apply.
Can this be reduced by adjusting pixels?Thanks
MarcusHi
I have tried applying this to the page in private content by:
1/ Adding ‘banner-grid’ in the grid row developer settings under css class name
2/ Adding the code you supplied in Enfold > Theme Options > General Styling > Quick CSS
@media only screen and (max-width: 767px) {/* Add your Mobile Styles here */
.banner-grid .flex_cell:first-child {
height: 200px !important;
}
}It has not made any difference to the way the image resizes on mobile view.
Please advise
Thanks
Is it best practice to create a child theme and add CSS in the child theme, or use quick CSS in the parent theme? I am not sure if all css is lost when the theme is updated?
Thanks
marcusI can’t seem to download see the child theme anywhere on my ThemeForest account?
I see other people have had the same issue on the forum
Please advise.
Thanks
Forgive me, what do you mean by toggle.
Are you saying each time I add CSS, I need to disable the Enfold > Performance > File Compression settings, then re-able them if the changes are working OK?
Thanks
MarcusThanks for the feedback,
I do not have much knowledge of child themes. Is there any other way I can add code into the head tag?
Thanks
MarcusHi,
If I only want to apply to the 3 columns with text and buttons, what would the css code and css class name be?
Thanks
MarcusHi
I will try this.
1/ Does the CSS need adding to the Grid Column element where the background image is? or the Grid Row that has the 2 x Grid Coumns within?
2/ Ref your note on below. Once I have checked this is all OK do I able the File Compression again?
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css. The following documentation should help.
Thanks
MarcusHi
Ref below –
6/ Pop up box on entry to accept cookies
Is there anything in the theme that sets an auto pop-up to accept cookies etc.
Your reply
Yes, go to Enfold > Privacy & Cookies, for further instructions please check: https://kriesi.at/documentation/enfold/privacy-cookies/Which do I enable to create the pop up in entry of the site?
2/ Adding code in head tag
If I want to add code in the head tag that is script not for Google but another – is this applied in Appearance > Theme File Editor? If so which php file do I edit?Thanks
MarcusHi
Ref Recaptcha
I am currently developing this site in an alternative dev domain.
The site will then be moved its domain for launch.
Recapcha required that the domain is hosted.Would you suggest I register for the keys under the dev domain to create them and add Recaptcha in enfold google services so that I can test.
OR
Wait until the site is in it’s true domain, then register for the keys in the true domain and then enable Recaptcha.Thanks
MarcusHi
This is a Grid row half column cell.
The layout builder won’t let me add a whitespace into the cell. It just disappears when I drag the element over the cell.
Any suggestions?
Thanks
Hi
Please clarify.
Do I need to add white space element in the 2 col. cell where the image is set as the background?
Thanks
Hi,
I have had no feedback on this.
Please advise
Thanks
MarcusHi,
Thanks for this.
Is this for the keyline removal only?
Is it added in main CSS or the gallery advanced only?
Thanks
MarcusHi Rikard
What is the css code to change the font weight?
Thanks
MarcusHi Rikard,
Where is the css located to add the code?
What is the correct CSS coding Eg. If I wanted Image Caption to be Fira Sans light what is the coding?
Thanks
MarcusHi
I am hoping to upload the latest version of the site in a staging environment.
Could you advise what improvements on form security have been made. What files within the enfold WP theme effect the form update?
Thanks
MarcusThis reply has been marked as private.Hi
See link below in private
Hi
Link shown in private content with an example of a pop-up that loads on home. The pop-up may contain graphics or a message.
November 3, 2020 at 11:40 am in reply to: Avia Layout Builder Not Showing text content not showing in Element Preview #1257945Hi,
I am going to try the theme update this week inline with your advice.
On another note, is there a preferred plug-in for Enfold that creates a pop-up or light box on the homepage? Or can you create a pop-up within the theme?
Thanks
MarcusOctober 18, 2020 at 12:36 pm in reply to: Avia Layout Builder Not Showing text content not showing in Element Preview #1253594Hi Rikard,
Thanks for the feedback. I will try this.
If the update breaks the site, and I switch back to the old theme, would I also need to re-upload the backed up database?
Thanks
MarcusOctober 16, 2020 at 11:12 am in reply to: Avia Layout Builder Not Showing text content not showing in Element Preview #1253233Hi Rikard,
Thanks for the feedback.
Your comment on the php was only relating to turning the wordpress block editor off.Going back to fixing my initial problem, your recommendation to update the theme, I still have the issue of what is the best solution if I do not have a staging environment. Eg. If I update it live and the site breaks?
What would you recommend?
eg.
1/ Back-up the current site (wordpress and database)
2/ Download the latest enfold theme wordpress files
3/ In ftp drag the new Enfold WP files from the above into the existing theme enfold folder: wp_content > themes > enfold (and replace the files already in there).If performing the above theme update breaks the site, then I replace the wordpress files within the theme with older back-up one and also database within php-may-admin on the server?
It is a shame that you do not offer a service to help from the developer as I have come across many colleagues who use Enfold and have had issue when they have uploaded the updated theme.
I look forward to your reply.
Thanks
MarcusOctober 7, 2020 at 2:37 pm in reply to: Avia Layout Builder Not Showing text content not showing in Element Preview #1251165Hi,
I have read several issues with sites breaking if you update the theme and wordpress and I do not want to risk this live. Would this be something that your developer could look at for me to fix, or do you have the facility to take the site into your own staging environment and update/test before its done live?
I am reaching out for help.
Thanks
MarcusThanks
In terms of a staging environment is there a preferred method that you would recommend?
Thanks
Marcus -
AuthorPosts
