Trying to find settings to hide min description

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #190962

-- url of the page with the problem -- : apf.cloudaccess.net/dvd/scripture/produc...ark-and-the-covenant
-- HikaShop version -- : 2.3.5 Essential
-- Joomla version -- : 3.3.6
-- Browser(s) name and version -- : 5.3.29
-- Error-message(debug-mod must be tuned on) -- : no error message

I would like to either hide the mini description on my product pages or else have the larger description not display the mini description. There must be some settings I am missing. Here is a sample page:

apf.cloudaccess.net/dvd/scripture/produc...ark-and-the-covenant

Please Log in or Create an account to join the conversation.

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #190963

I may have already found myself a good solution. I turned the products display to default instead of tabular and now the page is looking much simpler and more to our liking! :-)

Thank you, Sean

Please Log in or Create an account to join the conversation.

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #190965

OTOH, another similar subject is that I would like to figure out how to display some of the description and maybe truncate it by number for characters for the Product Listings in the Categories like at this page:
apf.cloudaccess.net/dvd

And I would also like to display some of the description in the same way for the Related Products like at this page:
apf.cloudaccess.net/dvd/product/157-scripture-mysteries-bundle

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #190981

Hi,

To have description in the product listing, you can select the "listing image and description" for the layout option of your menu/module. And to just have short description, you can use the "Read more" button of the editor when writing a text.

This method is available too for the related products module.

Please Log in or Create an account to join the conversation.

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #191079

Xavier,
this sounds really good. I must be missing something because I keep looking for the layout option of my menu and am not finding it. This is what I am doing:
1) Click on my menu item
2) Click on the HikaShop Options link
3) click again on the next HikaShop Options link

The closest thing I find to what you are describing is a field called Type of item layout within the Parameters for DIV. Currently that setting is set for Image and title. If I change it to Image and description then my site falls apart because the Title becomes huge and occupies a very small area.

Somehow I am thinking this is the setting you are referring me to though because it does cause some of the description to be displayed.

If you want to see an example of the pages all fallen apart please look at apf.cloudaccess.net/dvd

What I do not know is if I need to change the layout from within HikaShop or if this layout issue has to do with the template house that provided me the template?

Any pointers in the correct direction will be greatly appreciated.

Sean Carney

Please Log in or Create an account to join the conversation.

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #191200

This page at apf.cloudaccess.net/dvd really looks terrible when i turn on the option to display image and description. Is this something that needs to be fixed with my template provider?

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 9 months ago #191276

scarney wrote: Is this something that needs to be fixed with my template provider?


Eventually, yes.
Even better would be if you'd get your head around CSS including the use of Firebug or a comparable browser console, because then you'd be able to fix most of your many big and small problems yourself. ;)
Just like all the other documentation here on configuration and option settings, this is really helpful for styling changes: hikashop.com/support/support/documentati...the-display.html#css


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: scarney

Please Log in or Create an account to join the conversation.

  • Posts: 190
  • Thank you received: 2
9 years 9 months ago #191527

Thank you for your response. I decided just to turn off the descriptions for now and display just the image and title.

You are right that It would be good for me to learn CSS better. Generally I am looking for templates and components that won't need too much css work. But. of course, that never happens completely since I am not really a hard core web designer but just do some sites for ourselves and some friends.

I do have a problem with this site that is baffling me and of course if I knew CSS it would be a piece of cake. This issue involves my page at apf.cloudaccess.net/dvd

The Menu item is to just click on the main navigation that says Menu.

I seem to have two options both of which are not optimal to me:

1) Set the Menu item to display the HikaShop category.
advantage: The Titles display nicely
disadvantage: an image shows for each of the subcategories.

I would like to keep this view if I could just remove those category images since I created a small carousel for that purpose.

2) Set the Menu item to display the HikaShop Products listing.
advantage: the subcategory images go away
disadvantage: the Titles CSS changes and they become cramped together.

The Title look good on all the categories pages like the following:

apf.cloudaccess.net/dvd/transformed

What I want is to get the Title looking that way for the DVD page as well which is actually a listing of all the DVDs in this cart. They are all listed under subcategories.

I know I may be annoying you asking for this help but I hope not. What would be the best way to improve the titles and remove the subcategory images from this menu item?

Thank you, Sean Carney

Last edit: 9 years 9 months ago by scarney.

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 9 months ago #191542

As of the time of this writing there are no "cramped" product names anymore that I could find - probably you've re-arranged all to category listings.

Anyway, your problem ("sometimes huge product names") derives from the property "font-size: 2em;" generally applied to the class "hikashop_product_name" in a template CSS file. "em" is a ratio similar to %, not an absolute measure like px or so, and the outcome is then depending on sizes spec'd in parent containers. "2em" meaning that the font will be about twice the size of....... well, whatever it was set to in the specific context just before.
Using "em" values can make good sense in certain cases, but requires you knowing how/where/when, otherwise the results can be horribly inconsistent. And so, applying an "em" so generally for a class that's used in more than one environment is bearing the risk of unexpected outcome. So, here are your options:

- Ask your template provider what he was thinking and how to make it better.
- Or override the property value in your custom CSS with an absolute value, or try "rem".
- Or add more custom CSS where more specific classes are using different "em" values, if you insist on using "em".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum