Forum Replies Created
-
AuthorPosts
-
Thanks Rikard, but I already tried in Code Block element – and that’s what I thought that was for, so question was about why that wasn’t working? Thanks.
The plugin being used to show and hide content is Groups, with 10,000+ active installations – not big enough?
But in any case, should a shortcode that is working in default not also work on a code block in the advanced editor – I dont understand why it wouldn’t. I really need an explanation please, or are you just blaming the plugin?
I am having the same issue, but an alternative plugin is not an option. Different plugins / system to the above thread anyway.
When in Default editor the shortcodes within the shortcode block work exactly right, when switching to advanced layout editor to make a better looking page, the shortcodes do not work correctly either in a text box or a code box.
For our site there are two sets of open and close shortcodes to display different member-only content or message on a page. CvivCRM is being used, where the shortcode comes from.
We have it working perfectly throughout the site using default editor, but any time I want to change a post to advanced the shortcodes no longer work.Hi Yigit
Thanks very much for your help. The changes you made to the Portfolio Grid element helped get us back on track.
To fully resolve the inconsistent image sizes we ended up setting the Medium size images to 500 x 600 px and set that to hard crop in functions.php.
add_image_size( 'medium', get_option( 'medium_size_w' ), get_option( 'medium_size_h' ), true );
Then we ran the Regenerate Thumbs plugin.
We removed the css you added as this seemed to be stretching the images on some screen sizes. Anyway, after the changes made above it was not needed.
Thanks again for your help.
Hi Rikard
A temporary admin login has been set up for you now.
Thanks very much.
FYI I have now also tried installing manually over ftp version 4.2.3 and still getting error – this time: Parse error: syntax error, unexpected end of file in /home/**/public_html/testsite/wp-content/themes/enfold/config-layerslider/config.php on line 627
What version do I need to go back to for PHP 5.5 to be ok? The version that was loaded before I went to update was working, but not sure what version that was… Or do you think my errors are something else?That’s not where my issue is saying there is an issue. And I have tried with v4.4 not 4.4.5
- This reply was modified 6 years, 2 months ago by saucyhotdesign.
Mike – my testsite is literally a new site with nothing done to it yet, so I doubt there is a html tag issue. I do think that my server may only be running PHP 5.5.33. Would this be the cause of the problem? What version of enfold do I need to go back to to not have a problem until I can get my server to update the php?
I tried uploading 4.4 and got another parse error – could it be my php version is not high enough?
If it helps at all – this is what line 429 has on my offline version that apparently is causing an error – does it look right?:
$params[‘innerHtml’].= ” <span class=’av_hotspot_image_caption button button-primary button-large’>”.__(‘Image with Hotspots – Click to insert image and hotspots’,’avia_framework’).”</span>”;Hi Michael – as per my original post – I did exactly as per your steps up to step 8. It was when I then visited my live site to try to log back in that I now get the error message. SO to repeat, I MANUALLY UPLOADED 4.5 via FTP AFTER DELETING THE OLD ONE and got an error message as posted above. Luckily this is on a testsite and not live yet.
Hi – I just downloaded latest enfold and uploaded manually via ftp after removing enfold older copy first. I now get this error:
Parse error: syntax error, unexpected ”Im’ (T_ENCAPSED_AND_WHITESPACE) in /home/**/public_html/testsite/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_hotspots/image_hotspots.php on line 429
Ok, so I didn’t quite head what you said about needing to update the quick css (even just with a space) and save in order for the css to reset. When I do this my child theme css works. Strange this is needed – didn’t used to be. But hopefully it means my past custom css in older sites is still safe.
Thanks – however what you have done is add specific classes to two elements which has worked.
However, I want to change all h2 headings, without having to apply a class each time. On many of my previous Enfold sites I have done this easily in the child theme css, but on this latest version they are just not working. I am afraid some of my previously working child theme css on other websites will now not work with theme update…?I have fixed the memory error (adding define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); to the wp-config file).
When I now use the css editor within wordpress I can see it makes changes, so why doesn’t it work in my childtheme css?
login in private
Hi – I am having a similar problem where I am putting css code in the childtheme css file, and no changes are being seen on the site.
e.g.
#top .template-page .entry-content-wrapper h2 {
text-transform: none!important;
letter-spacing: 0px!important;
}
#top #topheadtitle .template-page .entry-content-wrapper h2 {
margin-bottom:0!important;
}(#topheadtitle is a cusom ID I applied on the page to try to help)
When I inspect element in my browser, usually the childtheme css would show, but be crossed out if it wasn’t being used (bad hierarchy) – whereas it is not even showing. Most of the styles showing are coming from a strange uploads/dynamic-avia/ folder instead of the usual parent theme css folder…
- This reply was modified 6 years, 7 months ago by saucyhotdesign.
This seems to have worked – adding to the functions.php child theme file to make the child theme style sheet ‘more important’ in the order.
function enfold_child_theme_enqueue_styles() {
$parent_style = ‘enfold-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’, ‘enfold_child_theme_enqueue_styles’ );So not just the ‘screen options’ things are not coming through on mobile phones (have checked on 3 different ones). Other customised css are not coming through on mobile phones (using childtheme css). Any ideas why? For example I added padding around the logo on smaller screens and it works in my laptop browser when I shrink the window, but still looks the same with no padding on mobiles. I have purged cache on both wordpress and the phones. Any ideas?
Thanks. Unfortunately they’re still showing on my mobile. As before they are now showing on my laptop when I shrink my screen size down to simulate mobile view, but they are showing on my mobile after refresh. Can you see if they show on your mobile? Link in private comments.
I thought I had solved my problem with some custom css in the childtheme. It works how I want it to when I resize my screen on laptop, hiding the slideshow captions when small screen, but when I view on my phone the buttons are hidden correctly but the captions are still there at large size…
I have fixed the issue by adding custom css without the ‘av-no-preview’ bit:
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.responsive #top #wrap_all .av-small-hide,
.responsive #top #wrap_all .av-small-font-size-hidden,
.responsive #top #wrap_all .av-small-font-size-title-hidden{display:none;}
}The medium screen is picking up this style which is being adding in the footer of the page.
@media only screen and (max-width: 989px) and (min-width: 768px)
(index):390
.responsive #top #wrap_all .av-medium-font-size-14 {
font-size: 14px !important;
}This is the style that has been added to hide captions but it is not being picked up cos the av-no-preview style isn’t on the page. Seems to be the root cause?
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.responsive.av-no-preview #top #wrap_all .av-small-hide,
.responsive.av-no-preview #top #wrap_all .av-small-font-size-hidden,
.responsive.av-no-preview #top #wrap_all .av-small-font-size-title-hidden{display:none;}
}Update – At a medium screen size the caption smaller size settings are working, overriding the normal size, but at the smaller screen size the ‘hidden’ setting is not working and the captions show full size.
By setting ‘hidden’ on the container column of the buttons they are now getting hidden on smaller screens, but the captions (most important as they are otherwise covering the images) are not getting hidden or shrinking as they should…
As I posted above, I have already tried deactivating all plugins and I did not get any change in the display.
Home page – have selected to hide the black buttons at the top on smaller screens, and to shrink or hide the captions on the home page slideshow.
Thank you. I have added that to the functions file and uploaded. I did first try disabling all plugins but unfortunately that did not fix the issue (I have reactivated).
Thank you. On the home page I have tried editing the size of the captions on the slideshow for smaller screens and hiding them on the smallest screens. I also tried duplicating the slideshow and removing the captions altogether – making the one that had captions only appear on larger screens, and the one without captions to display on smaller screens only. Instead both displayed on all screen sizes so I removed the duplicate. I will also want to hide the two top black call to action buttons on the smaller screen sizes, among other things.
Have supplied below
-
AuthorPosts