Gibbon355
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Joy, Thanks. I’m trying to copy the ‘girl holding the white cards’ and the corresponding buttons in this link:
https://www.printful.com/custom/wall-art/posters/enhanced-matte-paper-poster-in?size=8%C3%9710
An image is always there but the default image is replaced by clicking different size-dimension buttons. I figured out a way to kind of simulate it with css but I am too new to Javascript to do anything but cut and paste code that JS users in past blogs say works. Ideally, I’d like to have the same effect of clickable buttons with corresponding images by using Javascript.
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Right now, I’m not familiar enough with wp_enqueue_script() or wp_print_scripts to implement it. I’m trying to get this result https://jsfiddle.net/dipeshbeckham/Ku5pP/1/ with JS but am not getting images that show when buttons are clicked.
Also, is Shortcoder Plugin the JS equivalent of the “WP Add Custom CSS” plugin?
<script>$(function(){ $('button').on('click',function(e){ e.preventDefault(); var imgSRC = $(this).data('src'); $('#image').html('<img src="'+imgSRC+'" alt="" />'); }); }); </script>
- This reply was modified 6 years, 1 month ago by Gibbon355.
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Bcworkz, Thanks, I’m new to Javascript. Would the code below be brief enough to place in the text/code view?
$(function(){ $('button').on('click',function(e){ e.preventDefault(); var imgSRC = $(this).data('src'); $('#image').html('<img src="'+imgSRC+'" alt="" />'); }); });
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Crgeary, would you also say that a plug-in for adding Javascript is recommended and, if so, could you recommend a plug-in?
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Thanks, Crgeary. That works. Even after I fixed <style> the css still didn’t work correctly until I added the plugin and pasted the css in the box.
Forum: Fixing WordPress
In reply to: Internal CSS on WordPress page?Thanks, Joy. I’m trying to figure out why my CSS is showing up on the page where everyone can see, plus it’s not working:
https://jurassicgorilla.com/animals/cryptozoology/test-2/
Here’s the code:
.hidden{ height: 0; width: 0; } .hidden:checked + img{ display: none; } </style> </head> <body> <label> <input type="radio" class="hidden" name="name1" checked> <img src="https://jurassicgorilla.com/wp-content/uploads/2018/09/posters4.png" /> </label> <label> <input type="radio" class="hidden" name="name1"> <img src="https://jurassicgorilla.com/wp-content/uploads/2018/09/printerhalf2.png" /> </label>
Forum: Fixing WordPress
In reply to: WordPress does not save certain html?Thanks, Clayton. That is helpful.
Forum: Fixing WordPress
In reply to: WordPress does not save certain html?Thanks, Pioneer Web Design. That works.
Forum: Everything else WordPress
In reply to: What areas to learn to feel comfortable with WordPressThanks, Andrew. I started to do that with simpler problems I could possibly encounter but as I learn more I’ll be able to relate to broader and more complex issues.
Forum: Everything else WordPress
In reply to: What areas to learn to feel comfortable with WordPressI’m trying to set an initial goal and it sounds like Javascript would be first over the next 3 months(2 hours a day), and then Php longer term.
Forum: Everything else WordPress
In reply to: What areas to learn to feel comfortable with WordPressThanks, Catacaustic. My main goal is to not be reliant on paying anyone to fix my store if it has a problem and so that I would be the sole “developer” of the site. I’m looking for basic skills that I can learn spending 2 solid hours a day for the next year or more.
I watched a few videos on what to learn to be a web developer(I’m a pro illustrator. I just want developer skills, not a job.) and they say html, css, and Java script but you say they are mainly for the look and not back-end functionality that programmer needs? If I learned Php and Javascript, maybe 1200 hours over the course of 2 years, would it be enough to handle the back-end of a woocommerce store with confidence?
For example, I know Maya, 3Dsmax, Zbrush, Pshop, Blender, After effects, and on and on. I’m a pro artist. No doubt. But I wouldn’t even begin to say I’m a web programmer or could handle a web store and all the potential issues that can arise with a lot of customers. Eventually I would pay someone but I want to learn enough of the skills that I would later pay someone to do, in order to manage the store initially and trouble shoot whatever arises.
Forum: Plugins
In reply to: [WooCommerce] Size chart cannot be deletedI think the company Printful’s API may have made it so all new products have Size Chart on the back end on my particular store.
The thing I don’t understand is that if I type something in the Back End size chart, even if I delete it, the words “size chart” appear on the Front End.
If I never type anything in the size chart area on the Back End it will look like this and I am fine with it:
https://jurassicgorilla.com/product/photo-blowup-new/
^ On the above link, NO size chart, just description.
Forum: Plugins
In reply to: [WooCommerce] Size chart cannot be deletedOnce I type 1 letter in the size chart area, even if I delete it, the words “Size Chart” will show up on the product’s page. If I never type anything in the size chart area it will never show up on the Product’s Page. I can’t retract it once I type anything in the size chart tab, I can delete what I typed but the words “Size Chart” is there to stay.
Forum: Plugins
In reply to: [WooCommerce] Size chart cannot be deletedStefsterNYC, I didn’t alter any code nor anyone else unless a plugin did. This product link below doesn’t show a size chart on the products page but still has its availability on the edit products page:
It could have been Printful’s API that gives the size chart option on the edit products page because all the tank tops have it filled out. https://jurassicgorilla.com/product/muscle-lion-leone-black-classic-tank-top-unisex/
- This reply was modified 6 years, 2 months ago by Gibbon355.
Forum: Plugins
In reply to: [WooCommerce] Size chart cannot be deletedThe description “rtwertrw” and the “upload files” near descriptions are not related to the size chart.