Forum Replies Created
-
AuthorPosts
-
Rikard,
I just rebuilt most of the site from the ground up, I used a fresh WP install, clean Enfold upload and added plugins and child theme files one by one. As it relates to the Custom HTML Widget not being editable I was able to track that back to something that is happening with this script from my functions.php. I isolated this after adding each function one by one. Do you have any idea what is wrong with this parsing script?
/* code to defer parsing of JavaScript */ add_filter('clean_url','async_js',11); function async_js($url) { if ( false !== strpos( $url, 'jquery.js' ) || false === strpos( $url, '.js' )) { return $url; } return "$url' defer='defer"; }
Thanks,
IanRikard,
Is there anyone else on the team that may be able to provide a solution?
Thanks
Rikard,
Follow up questions re. widgets and style.css have been moved to a new string to stay on topic: https://kriesi.at/support/topic/custom-html-widget-and-style-css-not-working/
- This reply was modified 5 years, 7 months ago by iisrael.
Rikard,
I started this thread since my follow up questions started moving away from my original question in the first thread. Creds in pvt. Here is a list of outstanding issues to review.
1. Custom HTML Widgets in Footer not editable.
2. Some fonts are no longer loading properly from style.css in child themeRikard, yes, that worked. So, now I have the theme up and the correct style sheet. However, the Custom HTML Widgets in the footer are no longer editable and I have styling issues revolving around fonts all over the site.
Can you please help me with getting these items to work? The Custom HTML Widgets display in the widget area, but are not editable. One of them isn’t displaying any HTML and the others are displaying on the front end but can’t be edited.
Ok, I was able to get the site to load, but now my child theme’s settings aren’t working properly. Looks like the parent theme’s styling is showing instead. How do I fix that?
Gunter,
I have deleted the enfold folder from my themes folder via FTP and replaced it with a new copy of Enfold v.4.5.5, however the site still doesn’t work and I get this new error:
Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /public_html/wp-content/themes/enfold/framework/php/font-management/class-avia-font-management-base.php on line 429What do you suggest to resolve this issue?
Victoria,
I wasn’t able to get the images to align like I wanted using the layout builder. I coded the layout of the photos by hand and it seems to be working pretty well. Here is what I did: http://www.dancingpotz.com/gallery
<!DOCTYPE html>
<html>
<style>
* {
box-sizing: border-box;
}body {
margin: 0;
}.header {
text-align: center;
padding: 2em;
}.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
padding: 0 10px;
}/* Create two equal columns that sits next to each other */
.column {
-ms-flex: 50%; /* IE10 */
flex: 50%;
max-width: 50%;
padding: 0 9px;
}.column img {
margin-top: 18px;
vertical-align: middle;
}/* Responsive layout – makes the two columns stack into a single column */
@media screen and (max-width: 800px) {
.column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
}
</style>
<body><!– Photo Grid –>
<div class=”row”>
<div class=”column”>
</div>
<div class=”column”>
</div>
</div></body>
</html>Ok, well not sure what the issue is with the shortcuts in the post tool so I will just copy the link here as is: http://www.dancingpotz.com/wp-content/uploads/2018/05/gal-layout.jpg
May 3, 2018 at 6:45 pm in reply to: CSS Updates Work In Google, but not in style.css or Quick CSS #951001Mike,
Thank you for your help, as always. I was able to resolve this by deactivating the Cache plugins.
Stay tuned for more questions from this rookie :).
-Ian
notes in pvt message
Hi,
Sorry for the long delay, I was working on other projects. This has been resolved for the needs of the client.
Thank you for your help as always.
-Ian
Mike,
I looked into Prefetch and prerender as you noted, but it doesn’t seem to work or is simply over my head for the moment.
One thing that I tried as a bandaid was to use the preloader from the theme options, which is better than a black screen. However, when that is activated the preloader runs, but never loads the target page into the iframe. Any ideas on why that’s happening?
Thanks for your help.
Ian
January 28, 2018 at 3:13 am in reply to: CSS Updates Work In Google, but not in style.css or Quick CSS #903838Hi,
Ok, when I deactivated the cache plugin that also does my minify tasks (W3 Total Cache) the code is read properly. Thank you for the tip. Do you know of a plugin that does these tasks without conflicting with the CSS files? Or do you know if there is a setting in this plugin that should be adjusted?
Thanks,
IanI added that code with #top, but no change to how the menu is displaying.
January 27, 2018 at 10:31 pm in reply to: CSS Updates Work In Google, but not in style.css or Quick CSS #903792Mike,
Ok, URL and login are in pvt.
The images of staff head shots and their names are the issue at hand.Is there way to have more than 5 columns?
Mike,
The pages that are being called to load in the iframe are posts from a custom post type, built in wordpress and using a custom page layout and single post loop. So I am not sure what you mean with them not being wordpress pages. These pages are being cached using the cache plugin as far as I know.
The fonts that you are referencing are Google Fonts that were selecting in the enfold theme, so if this is causing the lag please tell me how to avoid that.
Thanks,
IanNikko,
This code is for a single page based on the page id used. However, this sub menu is used on most of the pages on my site, so I simply need to use a global css class.
Ian
Jordan,
The one thing that I do need some help with is the significant lag time when the iframe is loading. I have included the link to the page and admin login in pvt.
Mike,
I did something similar. I made a new page template, new single post loop and then put the data for each program in a custom post type.I think we got to the same end with different means.
Thanks for your help.
IanRikard,
I am sorry for the delay in this string. I was able to make it work “good enough”, however the code you provided didn’t make any changes.
Thanks,
IanHi,
I found a similar site that does exactly what I am looking for. When you click a staff member’s name, the lightbox opens with a nice header and all the details. https://boldearth.com/trip-leader-bios/?show_leader=106633
Anyone know how to do this in enfold?
Oh and if anyone has a better suggestion I am all ears.
Rikard,
Thank you for getting back to me. I will send you a link and admin in pvt.
Ian
Hi,
I didn’t see the link in the last post for some reason, so here it is again:
http://www.sandbox800.campkeff.org/wp-content/uploads/2017/12/submenu-screenshot.jpgRikard,
Thank you for reaching out. Here is the link to the screen shot:Sorry for the doodle notes on there, hard to write with a mouse :).
I hope this helps you a bit. I want to move the buttons to the left, but I don’t want to move the whole element, to avoid a blank space on the right of the tool bar.
Thanks,
IanOh and one other note: I was able to do this successfully by moving the buttons individually, but I need to be able to do this for all buttons at once.
Thanks again
Shalom,
Happy Hanukkah to you as well. Are you Israeli? I have been able to use the style.css sheet again, I will need to try the quick css again after this project wraps up. Thank you for your help. I have another question, but will start a new thread.
Thanks,
Ian -
AuthorPosts