Forum Replies Created
-
AuthorPosts
-
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, 3 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, 5 months ago by
zimbo.
Brilliant, thank you!
Website link in private content, it’s a test/development site so there’s lots of ‘work in progress’ and there’s no home page at present, but you can see the main menu via the sub-page link provided.
Setting the left command above to 20% appears to centre the menu on a 1920px screen, not -50%, but it doesn’t work as screen sizes reduce. Also, acting on .avia-menu.av-main-nav-wrap means the search icon just goes to the right so I’m not sure this will work anyway because it’s just the menu elements within that container that need changing.
You’ll see from the CSS file I tried
.menu_pad_left { padding-left: 17%; }
and added that class to the first menu element, but again this fails: the 17% needs to be reduced with media queries as screen sizes reduce.
I thought so, but I’ve done a bit of PHP & CSS customisation in the past, could you offer some pointers as to how I might do this e.g. which code modules I’d need to modify, and I’ll have a look at it myself. Thanks.
A recently completed project for an art gallery using Enfold – Jack’s Gallery
I posted earlier in this thread and was advised on December 2nd to upgrade manually from 3.3.2 to 3.4.6, which I did. I was told that auto-update would work next time there was an update.
3.4.7 was released on December 18th but Theme Update is still telling me today “No Updates available. You are running the latest version! (3.4.6)” and manual check says the same.
So this auto update process is still not fixed but as per @Maximus_ I guess you know that…
I have updated Transient Cleaner to 1.3.1 and re-run both Clear Expired Transients and Remove All Transients functions.
Theme Update still says “You are running the latest version! (3.3.2)”. A manual check tells me “Your themes are all up-to-date.”
So it still does not work. The login requested by Rikard is still active for someone to investigate further.
-
This reply was modified 9 years, 3 months ago by
-
AuthorPosts