can you post a URL to the site? that would be extremely useful.
http://sexpriseher.com/lladro/index....e=products_all
and I am trying to get it to look similar to this one:
vir gin iaha yw ard .com/occasion/new-baby/[/URL]
(but only the position of the image, name, price - info & buy now buttons - not colours etc)
Thanks so much
Last edited by DrByte; 7 Jun 2012 at 04:21 PM. Reason: Obfuscated URL as requested
OK. Well that is really a styling issue rather than functionality. You can start by centering the images in the blocks with something like:
Everything else that you are trying to achieve should be attainable with css only. It may turn out to be easier to put a container around the prices and that would be do-able in product_listing.php but you should be able to achieve at least most of what you want through css.Code:.centerBoxContentsProducts .listingProductImage { display:block; margin:0 auto; }
One of the tricks in this kind of situation is to get rid of all the <br/> s in the way. They just make layout kind of hard. You could start with:
That should get you going.Code:.centerBoxContentsProducts br{ display:none; } .productPriceDiscount{ float:right; clear:none; font-size:14px } .centerBoxContentsProducts .productSpecialPrice { float:left; font-size:20px; } .centerBoxContentsProducts{ font-size:20px; }
Nick
iszent.com
Trying to troubleshoot an issue I have with the new products page and I tried uninstalling SNAF this and got an error:
[01-Apr-2012 14:58:38] PHP Warning: require(includes/init_includes/init_snaf.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48
[01-Apr-2012 14:58:38] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/init_includes/init_snaf.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Thank you so very much Nick! That was a great help, I was a bit dumb in finding the correct css classes to edit. I am alot further on now and greatly appreciate those first steps to get me started.
So in addition to the afore mentioned uninstall error, I confirmed that my issue with the new products listing may be related to SNAF.
See this page: http://clientmybeautyaddiction(dot)overthehillweb(dot)com/index.php?main_page=products_new
This is a vanilla site with onlyt the Ashley Pink template installed..
When there are no new products to show it looks as if a language file is missing, but I uploaded everything in the SNAF package..
(note: this worked before installing SNAF)
Help!!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Confirmed that the seemingly missing language file might be coming from SNAF.
When I set to Use Product Listing Format for New Products to "True", the language constant appears as if there is a missing language file.
When I set Use Product Listing Format for New Products to "False", the text "More new products will be added soon. Please check back later." is displayed..
Last edited by DivaVocals; 3 Apr 2012 at 07:15 AM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.
But until then try this in tpl_products_new_default.php
it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-)Code:<?php if (!defined('TEXT_NO_PRODUCTS')) { $category_depth = 'products'; include('includes/languages/english/index.php'); } require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
If that works then I'll just have to adapt it to accommodate languages.
Nick
iszent.com
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Also did you see the post regarding the uninstall error I got when I attempted to uninstall SNAF???
(eventually it didn't matter than I couldn't uninstall SNAF.. I opted for taking the drastic route of killing my store and starting over -- still thought you'd want to know about the error though..)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Bookmarks