Forum Replies Created
-
AuthorPosts
-
April 18, 2016 at 1:26 pm in reply to: WooCommerce Issue after WP Update – Can not add products w/ variants into cart #616432
Vinay,
I would have to break a live site to get this to display. I kind of figure I would have given you enough information – along with the thread from the other member – would have given you some information to go with. You can also click here for additional info online.Also, look at the comment from the WooCommerce staff at WordPress.org – linked above.
If you really need me to build out a development environment, I can do that. Let me know.
Steve
April 18, 2016 at 1:53 am in reply to: WooCommerce Issue after WP Update – Can not add products w/ variants into cart #615959OK. Is this being looked at?
Note this comment at the WordPress.org site under WooCommerce support…WordPress 4.5 saw the bundled jQuery version being updated from 1.11.3 to 1.12.2. Some themes are not compatible with this change and cause errors, which affect all scripts loaded on your pages. This includes checkout and variable product pages.
Read https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=7
To view jQuery/Javascript errors, open up your error console (in chrome, view > developer > javascript console) and see what is shown.
If there are errors shown, check for updates from your theme author or contact the theme author for support if none exist and that is where the error is coming from.
This is not a WooCommerce issue just to clarify; WooCommerce is compatible with jQuery 1.12.2.
April 16, 2016 at 1:54 pm in reply to: WooCommerce Issue after WP Update – Can not add products w/ variants into cart #615452Update: The code was provided by a member of your team in this thread. That (temporary) solution did work for me.
Created a new ticket here.
I am having the exact same issue.
Has Kriesi responded to this at all?
OK, my code started working when I added the !important to the CSS. For some reason, I had not been using that before.
Instead of creating a new thread, I want to note I’m having the same issue when trying to hide a simple image element.
As an example, I’m using show-mobile and hide-mobile for my CSS class. On the page, I have the slider set up to HIDE below a specified width, and a text box set to SHOW on mobile. (The text box replaces the slider.)
So the CSS is working. If I try this with a simple image element, it’s not working.
I went and swapped the image element with a text element and inserted the image in the text element, set the Custom CSS to hide-mobile or show-mobile as needed, and it worked correctly.
Rikard – My suggestion would be to do a test just like I did, using a simple image element and see if the CSS is not applied to those simple image elements.
Thank you.
Copying the generated mark up…
Yeah, but that does not meet this requirement I have…
…have a page that only includes the Grid Row. Someone can go in there, update the Grid Row on that page, publish, and everything is updated.
Thank you.
You’ll want to look into translating WordPress. I know it sounds a bit strange, but the way WooCommerce works, you need to “translate” certain phrases and words. You don’t want to hack into WooCommerce to do this, since when you update WooCommerce, it will overwrite your changes.
Maybe start here?
https://docs.woothemes.com/document/woocommerce-localization/
Kriesi team may have more tips.
You actually do not want to copy the entire functions.php file from the parent.
For a zipped download that was in another thread here on the forum –> http://bit.ly/enfold-child
It includes a pretty much empty functions.php file, a screenshot.png file, and a style.css file that includes some theme description stuff. That’s all you need. Don’t duplicate functions.php that is in the parent, the child’s function.php file is in addition to the parents. The style.css theme can be used for new styles or to overwrite styles in the parent theme, but you can also use the Custom CSS field in the Enfold options area.
As for backups, you may be greatly limited by the hosting plan you are on. If you have a 400 MB site, the host may not allow you to run something like WP-Clone or even Backup Buddy. Backup Buddy does have a new version out (v7) that is supposed to work a lot better with the crappy shared hosting options out there.
Sorry. No idea. The classes need to match, that’s all I can think of. Plus don’t put the period in front of the class when entering the class into the Custom CSS Class.
Please review the instructions again above, and take a look at the CSS. You either have the CSS in the theme’s style.css file, or in the Quick CSS sections as shown above. In my example above, the change happens at about 670 pixels.
Take a very close look at the code I provided. That line should be…
add_theme_support('avia_template_builder_custom_css');
Note that what you’ve provided has two slashes before the code, so my guess is it is being ignored.Nope, not that section. You’re specifically looking for Custom CSS Class. If you do not see that, there is something up with your functions.php file.
Please take a look at the instructions I provided again. Everything is there. Sorry, not much more I can add. The new Custom Css Class is showing up for my installations. As an example, go to a page with a Special Heading element, open that element (edit it) and scroll down to the bottom and you’ll see the field.
Also, make sure you are updating the correct functions.php file, in the root folder of the theme you have active.
If you are running the Child theme, you need to have the functions.php file look like this…
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ /* * this function will turn ON the Custom CSS Class setting for all ALB elments [sjm 20160209] * The Quick CSS (Enfold Child > General Styling > Quick CSS) has two classes available - .hide-mobile and .show-mobile * IMPORTANT: You DO NOT add the period before the class, if you do, it will not work. (This is when you are editing the element.) */ add_theme_support('avia_template_builder_custom_css');
- This reply was modified 8 years, 9 months ago by spidercreations.
Actually, I just tried to replace
ava_main_header
with
ava_after_main_menu
and that put the button below the search icon and doubled the height of the navigation area.
Another suggestion?
- This reply was modified 8 years, 11 months ago by spidercreations.
Sorry, what do I replace?
SteveThank you!
I could stare at Firebug for hours and not figure that out. Some are easy, some not so much.
Steve
I had Enfold Child with no option for Theme Options.
No options at all? You should have a bunch of options open up to you once the page loads after you click on Enfold Child. If not, something may be incorrect with your Enfold theme installation, or maybe your permissions?
Are you logged in as a user with admin privileges?
Steve
Maybe try this plugin?
https://wordpress.org/plugins/download-manager/You can upload most files – including images, zips, PDFs, .doc, .xls, .eps – into the Media Gallery. Then you can just create a standard hyperlink or set it up so when you click an image that will open/download the file. Different file types would “open” different ways and not necessarily download into your downloads folder. As an example, clicking on a link or image that points to an EPS file will download the file, point it to a JPG, it would open it unless the site visitor right clicked and selected “save as.”
The Journiapp.com website is not a WordPress website, so I’m not sure what they are using.
I do agree, something like that would be kind of nice to include as a feature in Avia, but it would need to be a new feature a lot of people are looking for.That plugin I suggested will work too, but the presentation of the information on the page may not be what you are looking for.
This is not associated with specifics to Enfold, rather more-or-less a WordPress question.
I don’t think there is a specific Avia element, but you can certainly just do a bulleted list with links to the files. I would suggest opening product sheets as PDFs in another window, and then for images, I would probably ZIP them together. Click on a ZIPPED link and it will download the file, click on a PDF and it will most likely just open the PDF depending on the user’s browser settings.
You could also use something like the Document Gallery plugin.
Thank you!
And of course, I could not find this before. From the Enfold documentation…
http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
You sure can. First, my strong suggestion is to use the Enfold Child theme so you can make the following addition to the functions.php file for the Child theme.
add_theme_support('avia_template_builder_custom_css');
You can add it to the regular parent functions.php file, but it will be overwritten upon update.
After adding that line of code, you’ll see a Custom CSS Class field for almost all of the Avia Layout content elements. But first…
You’ll need to go to the Enfold settings > General Settings section and scroll down to the Quick CSS section and add something similar to the following:
@media only screen and (max-width: 670px) { .hide-mobile { display: none; }} @media only screen and (min-width: 671px) { .show-mobile { display: none; }}
That bit of CSS ensures a specified element will be hidden if the screen is smaller than 670px, and I added the second one to ensure an element is shown if it is smaller than 671px. In other words, one element will hide and the other element will be shown if you are looking for that extra feature.
Then go to the element itself on the page and go to that Custom CSS Class field. To hide the element below 670px wide, add the following to the field:
hide-mobile
To show an element when the screen width is smaller than 671px, add the following to the field:
show-mobile
Note that you do not include the period at the beginning of the class.
Adjust the pixel width for your needs.
- This reply was modified 8 years, 11 months ago by spidercreations.
Fixed. Thank you.
Steve
Yes. That was the issue. Strange, but it’s fixed.
Thank you again.
StevePerfect. Thank you so much.
Steve
Thank you! All set.
Steve -
AuthorPosts