prodefu
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Catalogue] Display Soley Product Name / Adjust Product DetailsHey Lucas and Nel7,
I’ve had the same problem and with a little modification you can solve it. In case you didn’t find a solution yet, here’s my solution.
There are two options:
1. replacing the ‘product details’ with the product title
2. leave the ‘product details’ as it is and add the product title at the top of the single product page.First of all you have to open the ‘single-wpcproduct’ file, which is located in the folder ‘themefiles’ within the plugin folder. A very good text editor for this job is Notepad++, this editor makes reading the code a lot easier by adding colors to the divs, classes, id’s, etc.
Now the two possible solutions:
1. When you’ve opened the file, search for the line with ‘<h4>Product Details</h4>‘ on it. Now replace the text ‘Product Details’ with ‘<?php echo $pname; ?>‘. Save the file and refresh the page; you might see a ‘>>’ in front of the product title, which can be found in the code on line 19: “$pname = >> get_the_title();“2. Search for the line with ‘<div class=”entry-content”>’ in it; just below this add the following code:
<div id=”product-title” class=”grid col-940″>
<h1><?php echo $pname; ?></h1>
</div>
and after saving the file again you’re all done.After all: PHP is not so hard to understand, until five weeks ago I didn’t know anything about it either ;). Happy learning!
Greetings from The Netherlands,
Gert-JanForum: Reviews
In reply to: [WP Catalogue] Great plugin – some suggestions for improvementYou’re welcome ;).
I have a screenshot for you to illustrate the second point.
In addition to my review at this point: it would be nice if the border of the thumb image which is being shown in the large box would have the same color; this way the thumbs will behave like a small menu. Adding a link property to the thumbs might be helpfull, since you then can define the border color of ‘a:active’ in CSS, but I don’t know enough PHP yet to make this work. Untill six weeks ago I even knew nothing at all about WordPress, PHP and CSS… ;). So I’m still learning.
Good luck with the improvement of the plugin! Hope to hear from you again if you have something new.
Cheers,
Gert-JanForum: Plugins
In reply to: [WP Catalogue] Product Page Problems (Aligns to the left)Hi Maeve,
I had the same problem and this little tweak did solve it. But I wonder why you didn’t add such inner DIV to the plugin itself? The only reason I can think of is that in this way it’s more adjustable to use the plugin with different templates.
I also was quite surprized to find a fixed width for the catalogue-wrapper instead of ‘100%’. That doesn’t exactly make the catalogue responsive ;). IMHO this point could use some improvement, also in the free version. I’ll write a review with some other suggestions for improvement in it, hope they will be usefull!
Greetings from The Netherlands,
Gert-JanHi Tom,
You’re welcome 🙂
Thanks for pointing out where I can find the styling instruction for the slider, this helps a lot.
For the flex-control-nav issue I found a neat trick: include a white space at the bottom of every image you use in the slider, the same height as the nav bar; this way the bar doesn’t ‘consume’ some space from the images.
Finally, I added some CSS to do a little resizing of the nav bar for when the port view gets smaller, just to keep it a bit in perspective with the responsive (thus resized) slider images ;). I was a little surprized this didn’t come as standard feature…
Regards,
Gert-JanHi Tom,
I found the right place for the CSS changes to solve these issues, but I have to say that I find the multiple CSS files in different places a bit confusing. Especially because the slider CSS (public / metaslider / flexslider) overrides the CSS of the website.
IMO it would be a huge improvement if you could build in a ‘custom CSS’ area which overrides all other CSS rules. This way it would be a lot easier to customize the colour of the page nav bullets without having to change the flexslider css itself. Suggested options / extra fields:
– caption text alignment
– color of active/inactive/hover paging bulletAnother improvement (IMO) would be to give the ‘flex-control-nav’ (paging) it’s own space right below the slider image, instead of floating above it.
Now the vertical alignment is done with a ‘bottom: ..px’ trick, but that’s causing some overflow in smaller screen: see screenshot. By giving the paging it’s own space, you also don’t hide the 40px or so at the bottom of the slider image. And the caption wrapper can be nicely placed at the bottom of the slider image – or maybey even made adjustable… ;).Final point: the paging bullets are jumping to the right a little and back, when moving to the next slide. It only happens after playing with the ‘bottom: ..px’ lines in the CSS; with caption-wrap bottom at 40px and flex-control-nav bottom at 20px it’s just steady as a rock.
It’s only a minor issue, but I consider it ‘unwanted movement’… ;).I hope you’ll find my suggested improvements usefull, maybe we see something back in the next release :).
Kind regards,
Gert-Jan