Forum Replies Created
-
AuthorPosts
-
October 3, 2016 at 2:06 pm in reply to: No title displayed on post, excerpt missing on blog post #694612
Yes the post was created using ALB. I just realised the comments are missing as well. Username in private content.
Why are those elements not displayed? More to the point, how can I get them to show?
September 30, 2016 at 12:58 pm in reply to: Single category post appearing on parent Blog Posts page #693665Details below as requested.
Please note that this is a live news website that has new posts added on a daily basis. The Travel-only post Beautiful Winter Destinations is now listed on page 2 of the News pages and will soon be on page 3 (or even later) as new stories are posted today, so you may need to search to see it displayed on the parent News page.
- This reply was modified 8 years, 2 months ago by zimbo.
Good suggestion though that would mean maintaining the same code block twice. As I said originally, it’s not that much of a big deal (the tab not closing on press/click) so I’ll probably just leave it. You can close this. Thanks.
Totally agree with rlogan2334, I get an email from Envato/themeforest telling me you’ve released a new version of Enfold but it doesn’t state the new version number or what’s changed. When 3.8 was released I searched the support forum in vain to try and find out what’s new. A locked Enfold Changelog thread is the way forward.
I think I gathered that, so is it possible to change this behaviour so that a click/press on the tab header in mobile view toggles the content open/close?
Hi,
Another site now using Enfold, recently changed from another theme that the author abandoned… :-(
- This reply was modified 8 years, 3 months ago by zimbo.
Excellent, thank you.
As I originally posted, using the second solution has given me the layout I want, my question was more curiosity – but the Tutorial definitely didn’t work for me, but no matter. Closed.
It nearly worked, but below 990px #main came up into the header so I modified your suggestion to
@media only screen and (max-width: 1024px) and (min-width: 990px)
and it’s OK now. Thanks.Ah, you are correct – I did not insert the image, the blog editor did it (I’m just the webmaster) and I’ve checked and can see that they did indeed choose to insert the 300px wide image instead of the full size one. All is now OK, thank you, and words have been said… :-)
Great, thanks.
August 26, 2016 at 1:59 pm in reply to: Remove a category from 'Archive by Categories' dropdown list #678123Thanks Yigit but there is an error in that code – line 3 should be
function avia_exclude_widget_category( $cat_args ) {
and not wpsites_… but I changed it, and it now works. :-)August 25, 2016 at 6:16 pm in reply to: Remove a category from 'Archive by Categories' dropdown list #677704Page here.
I want to stop DoNotShow and NewsTicker categories from appearing in the ‘Categories: Archive by Categories’ widget dropdown list in the sidebar.
Hi,
I’ve changed both to manual and it looks OK now, thanks. It’s not perfect but the client thinks it’s alright.
All done. :-)
Hi,
I do not have the Preview Image Size set to manual, it’s auto.
Why is the portrait image (Test…) is displaying nearly 50% bigger than the landscape one (Tesco…)? The original portrait image is about half the size of the landscape image, the thumbnail Enfold is choosing is also smaller yet the image-overlay (if that’s what’s doing the resizing) is 50% taller, hence the image in the post on the left is 50% bigger than the post in the centre. In a Blog Grid like this I think the same image height should be the primary aspect so that the grid images line up in a row horizontally. Is this possible?
Many thanks Yigit.
Thanks, al good.
I want to centre the Featured Image as well so I’ve used this:
.big-preview.single-big img { left: 50%; transform:translateX(-50%);}
Is that the best way or have you a better recommendation?
re. #2 above, I discovered this fix only applies to the Popular tab posts of the Combo, it does not work on the Recent list of posts.
Lines 961-964 control the Recent tab and in order to exclude certain categories from the Recent list of posts I had to modify line 963 to this:
avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc&cat=-31,-73');
Just FYI.
PS. It would be nice if the widget had some options to control what posts are displayed (or not) other than just the number thereof.
Hi,
Confused by this suggestion I’m afraid: portfolio size is currently set as W 495 H 400 px and this is the image that is being used in the Top Stories section for the Tesco… post, yet it appears as if it’s the following line of ‘<span class=”image-overlay…’ that is setting a W 240 H 185 px boundary to somehow to reduce/resize the image. So how will altering the size of the portfolio image itself change anything?
And that image/post is not the problem, it’s the Test Headline… post to the left where the portrait image being used is W 311 H 400 px (i.e. smaller than the Tesco… image) but the image-overlay is set to W 240 H 295 px which is larger than the Tesco… post with the consequence that a smaller image is displayed as a bigger thumbnail on the page – see here.
The images are being resized on the fly so surely the image-overlay on the Test Headline… post (or whatever controls the resizing) should be set as W 145 H 185 px, not W 240 H 295 px, to create an inverse aspect ratio for this thumbnail in relation to the Tesco… thumbnail but more importantly to have both thumbnails the same height in the Blog Grid?
Hi Yigit
I have that plugin installed as I was looking at resizing other images, but I do not have an ‘attachment portfolio’ image size listed, I only have a ‘portfolio’ and ‘portfolio_small’ size – did you mean either of those?
July 29, 2016 at 12:35 pm in reply to: How to change "Leave a Reply" text in comment section #666545Got this sorted now but for anyone else wanting to try it, here’s some more info about how to do it which was missing from the previous reply.
By default the theme does not have an enfold.po file but there is an enfold.mo. You need to open enfold.pot, which has all the English source text, with Poedit. You then create a new translation, select the language [which for me is English (UK), what my site’s language is], and Poedit will create a file called en_GB.po, into which you can enter ‘translations’ e.g. I changed ‘replies’ to ‘comments’. This next bit is key – instead of saving the file as en_GB.po you need to save it as enfold.po, whereupon Poedit will do that but also create a new enfold.mo file. You then upload both enfold.po and enfold.mo to the server – and you now have new English ‘translations’.
PS. I believe it’s not necessary to upload enfold.po as it is the .mo file that the system uses but for completeness and file integrity it’s probably a good idea.
I understand you don’t support 3rd party plugins and I still can’t get it to work, so I want to use Poedit to make text changes.
So to repeat my previous question: “can you advise how to use Poedit to make text changes” given that there is no en_GB.po file to edit in /themes/enfold/lang?
Sorry to hijack but I want to do the same thing however I cannot get Loco Translate to work. Are you sure this plugin is compatible with Enfold? I just get ‘Error: Unknown error’ from the plugin when I try to create an en_GB.po file via the plugin and upload it to /themes/enfold/lang on the server. The author’s FAQ says they can’t help with unknown errors (because they are ‘unknown’!).
So I then downloaded Poedit but cannot find an English language file to edit amongst the files in/enfold/lang – can you advise how to use Poedit to make text changes?
My Site Language is set to English (UK) e.g. en_GB, and I want to change things like “Leave a Reply” to something different in English.
I have since discovered that
-
arpw-thumbnail
wpbdp-thumb
wpbdp-largeare not Enfold related but plugin images so this query can now be closed.
@Andy – that plugin does not stop the WooCommerce thumbnails from being created by /config-woocommerce/config.php, which is the question I asked how to do in my first post, and which has still not been answered, although I think I’ve now figured it out. (-:
For one image uploaded Enfold creates an additional 19 images which triples the disk space used. I am never going to use all of those image types in the website and so I will use the remove_image_size function to stop the ones I don’t want from being created on upload to save space/bloat.
That plugin has however highlighted even more images that Enfold creates as well as gallery, magazine, masonry etc.
So please can you/someone advise what & where these image sizes are used for? If I don’t use them anywhere, I will stop these being created as well, but I need to know where Enfold might use them i.e. are they “core” to the theme.
arpw-thumbnail
wpbdp-thumb
wpbdp-large@Vinay – please refer to my original post and the previous answer I referenced: I know how to remove/prevent the standard Enfold images such as gallery, featured, masonry etc.
My question relates to the extra images I believe are being created by config-woocommerce/config.php with this code:
//product thumbnails $avia_config['imgSize']['shop_thumbnail'] = array('width'=>120, 'height'=>120); $avia_config['imgSize']['shop_catalog'] = array('width'=>450, 'height'=>450); $avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>999, 'crop' => false);
1. There’s a comment in that code module that says “check if the plugin is enabled, otherwise stop the script” – WooCommerce is not installed, so surely these images should not be created?
2. That issue aside, please advise how I need to alter this code section in my child functions.php to stop the WooCommerce image generation as well:
function ava_image_sizes() { remove_image_size('masonry'); remove_image_size('magazine'); remove_image_size('widget'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('extra_large'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('entry_with_sidebar'); remove_image_size('entry_without_sidebar'); remove_image_size('square'); } add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
May 19, 2016 at 1:03 pm in reply to: Custom CSS Class disappears from Blog Posts element depending on Blog Style #635136However the code is designed surely it is a bug that you can only attach a Custom CSS Class to the Blog Posts element when the Style is set to Grid Layout?
I’m happy to hack a source PHP file to fix the bug if you can provide a workaround until this gets fixed in the next theme update.
And @Yigit’s solution does not get round the problem. The column in question has 4 Blog Posts elements in it. I want to change only 3 of those to alter what post meta is shown. If I add a Custom CSS Class to the column itself, rather than each of the Blog Posts, then all 4 Blog Posts elements in the column are targeted, which is not what I want.
OK, got it, thanks.
@Basilis – bit confused why you mention masonry_entries.php? It’s iconlist.php I need to modify – did you misread the filename and does the same principle apply for iconlist?
-
AuthorPosts