Mizner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Center-Align Images on Mobile OnlyIf it’s still not working, you might also try something like this:
Example HTML:
<div class="img-container"> <img src="https://placekitten.com/g/200/300" alt=""> </div>
Example CSS:
@media screen and (max-width: 768px) { .img-container { display: flex; justify-content: center; } }
This is done using what is commonly referred to as “flexbox” which often works, but the Internet Explorer support for it is kinda spotty.
Lastly, as @swansonphotos mentioned make sure you clear your cache after edits. Or temporarily disable the cache.
Forum: Fixing WordPress
In reply to: iam having problem to login to my siteIf you can login to FTP, Cpanel, or similar services. You might have some luck by renaming the plugin and theme folder and then trying to log in.
1. Basically, find the
wp-content
folder.
2. Inside look for the plugins and themes folders.
3. Temporarily rename each topluginsDISABLE
andthemesDISABLE
4. Try to login to your site again e.gyoursite.com/wp-admin
If you can login at that point, then you can change the folder names back and enable your themes or plugins one by one until you isolate the problem.
Advanced (try at your own risk): If you can’t login after that, you may need to manually reset your password in the database.
This is a decent how-to on that process:
https://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/Forum: Fixing WordPress
In reply to: Center-Align Images on Mobile OnlyThere are multiple approaches. Overriding existing CSS rules from a theme or plugin might make this more difficult. That said, here’s a very simple example.
Example HTML:
<div class="img-container"> <img src="https://placekitten.com/g/200/300" alt=""> </div>
Example CSS:
@media screen and (max-width: 768px) { .img-container { text-align: center; } }
Note the media query which is checks how wide the screen is and only allows that CSS rule to work up to a maximum width of 768 pixels.
https://jsbin.com/suducorabe/edit?html,css,output
https://css-tricks.com/snippets/css/media-queries-for-standard-devices/Forum: Fixing WordPress
In reply to: Why are there suddenly new users on our website?Two quick things that could help:
1. In your dashboard, go to Settings > General and find:
“Membership” Anyone can register
and make sure it’s unchecked.
2. You can require new user approvals with the following plugin:
Forum: Fixing WordPress
In reply to: Categories Pages MalfunctionA few ideas:
1. Double check your categories marked. (It happens to the best of us)
2. Try disabling all (or most) plugins and switching to a standard wordpress theme (e.g. twenty seventeen) and see if the issue persists.
Note: depending on how your site is build, there could be breaking changes (although based on your post it sounds like you’ll be okay)
3. (complicated) If your posts are part of custom post types (rather than the built-in, “posts”), you may need to allow them to use the default archive views or have templates written for them.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] stripe_checkout.min.js missing ?Just happened to me too, ugh.
Forum: Plugins
In reply to: [Asset Queue Manager] Plugin not working, because jQuery not loading@gabrielwolf – Thank you and great job, this really helped me. Also, Nate I love this plugin.
Forum: Plugins
In reply to: Adding flash animation on product page galleryNo problem joness!
This article is a bit dated, but might get you started!
https://www.creativebloq.com/css3/build-360-view-image-slider-javascript-3122883
Forum: Plugins
In reply to: Adding flash animation on product page galleryHey Jones,
I know you mentioned using flash for this, so my comment may not be helpful (but maybe it will).
First thing, the site you mentioned isn’t using flash. It’s some javascript that’s moving through photos.
Here’s a snippet from the inspector to show this:
<div id="scancube_jzspin" class="4179" style="visibility: visible; display: block; margin-top: -1440px;"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0000.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0001.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0002.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0003.jpg" class="MagicZoom zoomImgSel" rel="zoom-id:zoomImgSel"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0004.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0005.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0006.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0007.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0008.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0009.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0010.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0011.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0012.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0013.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0014.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0015.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0016.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0017.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0018.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0019.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0020.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0021.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0022.jpg" class="MagicZoom"> <img src="https://images.edisac.com/article_360/123007/sd/4179-0023.jpg" class="MagicZoom"> </div>
It looks like they’ve executed it pretty cleanly so I’m having difficulty narrowing down exactly what they’re using. However, it seems to be something similar to this: https://www.magictoolbox.com/magic360/
That said, based on a little bit of googling: I’d probably recommend the officially supported WooTheme’s extention: https://www.woothemes.com/products/woocommerce-360-image/
The officially extensions are almost always cleaner code and more reliable for updates.
Side note: Don’t use flash for anything, anywhere. The support for it is all but dead and it can be an awful security risk to many users.