Forum Replies Created
-
AuthorPosts
-
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?
May 17, 2016 at 4:29 pm in reply to: How to display an arrow in a sub-menu to indicate a further sub-level exists? #633823Excellent Yigit, many thanks.
May 17, 2016 at 2:13 pm in reply to: Custom CSS Class disappears from Blog Posts element depending on Blog Style #633751Hi Yigit,
That does not solve what I’m trying to do. Here’s the issue.
The Blog Posts element under Business in that left column is Single Author, small pic Style. But the Blog Posts element does not give any control of the meta elements, hence I have some CSS:
.home-business .blog-meta, .home-business .post-meta-infos, .home-business .entry-content { display: none; }That CSS is not working however because the home-business custom class is not added to the Blog Posts element unless the Blog Style is Grid Layout. Surely not adding the custom class is a bug?
(I tried your suggestion of adding a custom class to the overall column and the class is added but I only want to selectively switch the meta off for some of the Blog Posts elements, not all, but using it on the column switches off all the meta in the column).
May 17, 2016 at 1:17 pm in reply to: How to display an arrow in a sub-menu to indicate a further sub-level exists? #633723Hi Yigit,
Yes I did, I was just about to post that!
I changed .menu to .sub-menu and it worked. I assume that’s the correct way?
One further question – I wanted to space out the right arrow from the sub-menu title and so am using this:
content: '\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0>'However, depending on the sub-menu title length, the arrows are not vertically aligned with this method. as you have seen.
Is there a way to have the right arrows lined up vertically under each other on the right side of the sub-menu li container e.g. remove the spaces and use float: right or similar?
May 16, 2016 at 5:15 pm in reply to: How to display an arrow in a sub-menu to indicate a further sub-level exists? #633148@Yigit – I got an email from you answering this but it has not updated here in my original post:
“Yigit wrote:
Hey zimbo,
Please refer to my post here – https://kriesi.at/support/topic/manu-bar/#post-622656
Best regards,
Yigit
Post Link: https://kriesi.at/support/topic/how-to-display-an-arrow-in-a-sub-menu-to-indicate-a-further-sub-level-exists/#post-633080”That solution works for the sub-levels but it also puts the ‘ >’ on the top level main menu elements – is there a way to NOT have the right arrow on the main menu but only on the sub-menu/levels?
-
This reply was modified 9 years, 6 months ago by
zimbo.
That works, thanks!
March 17, 2016 at 4:01 pm in reply to: Combo widget – add hover action/color to news-link/news-headline class #599633Thanks that appears to have solved it, I’ve added a:hover as well.
This problem is not about Enfold theme customisation per se, it’s about which SQL table and column/element Enfold uses to set “Don’t display image on single post” on a post. I was looking for some help to quickly identify this, but as that was not forthcoming I had to spend a day working it out and I have now modified the SQL database myself via phpMyAdmin to fix the problem. :-)
So you can now close this issue.
March 11, 2016 at 6:17 pm in reply to: Cannot override .av-special-heading setting when using Custom CSS class #596972Thanks Yigit, very helpful – case closed!
March 11, 2016 at 2:58 pm in reply to: Cannot override .av-special-heading setting when using Custom CSS class #596891@Yigit: well, you live and learn… :-)
I’d seen classes used without a space in previous answers here but didn’t understand why before.
Are there any rules as to when I’d need to specify a theme element like .av-special-heading as well as the Custom Class or is it dependent on the HTML element and what CSS property I’m trying to add or modify and so just a matter of trial and error until something works?
If an element is purely a heading e.g. <h2>This Is My Section Heading</h2>, then it displays using the Main Content Heading Color (red).
If an element is heading with an embedded link, then the Primary Color should be used, e.g.
<h3> <a title="All the Fun of the May Fair" href="http://dev.henleyherald.com/2014/05/06/...">All the Fun of the May Fair</a> </h3>This needs to display using the Primary Color (blue) because the heading is actually a link, and links display using the Primary Color.
You can see an example on this page: http://dev.henleyherald.com/
Top Stories is an H2 shown using Main Content Heading Color, red, as it should be. It is not a link to anywhere, just a heading.
The “Duck Diving Mayor…” H3 heading under it is also a link to a post and so should use the Primary Color (blue). Same for all other headings displayed via Blog Posts.
March 10, 2016 at 5:15 pm in reply to: Cannot override .av-special-heading setting when using Custom CSS class #596383Thanks Yigit, looks OK now.
For future reference / my education… can you explain why it doesn’t need the .av-special-heading class adding? I think I maybe misunderstand how the Custom CSS Class works – I use it in some places and I have to specify an additional class to target an element, yet in other places I don’t. Just trying to save posting future support questions if I can!
March 10, 2016 at 3:01 pm in reply to: Cannot override .av-special-heading setting when using Custom CSS class #596310Details in private content, it’s a development/test site so not everything is working yet. :-)
OK, it does work so I’ll stick with that. Thanks.
I understand it’s advanced and I can probably do the database update but I need some help please to know which table and parameter to alter – surely it’s documented somewhere where “Don’t display image on single post” is stored? That’s all I need.
Thanks, but that turns them off everywhere – how would I target all pages with this, but not posts?
Or more specifically it’s the Blog Posts section on a page (I’m using single author, small preview pic in Blog Layout), and/or the individual post summaries, where I want to switch the meta off.
-
This reply was modified 9 years, 8 months ago by
zimbo.
-
This reply was modified 9 years, 6 months ago by
-
AuthorPosts
