Announcement

Collapse
No announcement yet.

Hidden components inserting blank line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hidden components inserting blank line

    I have a few products made of 2 or 3 components which link to other associated products. We sell at one price for the main product, but like to see the smaller products it's made up of when packing the order.

    On the product page I want the customer just to see the main product, so at present I have made the components not optional and deleted the descriptions, but this leaves blank lines below the price. What can I do to remove the blank lines and still have 'hidden' components?

    Wyn
    www.firesonline.co.uk
    The wood burning stove specialists.

    #2
    Have you tried wrapping the components code between a <div> and setting the CSS as display:none .... that will remove the white space..... as opposed to in effect what is happening now along the lines of display:hidden which removes from the screen but still retains the space the code occupies


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Thanks for the reply, but will this solution still work if I have other products were I still want to see the components, or will it always hide them?

      Thanks in anticipation.

      Wyn
      www.firesonline.co.uk
      The wood burning stove specialists.

      Comment


        #4
        You will probably need to use 2 templates for the with and without components ... this may be possible to automate via Javascript if someone in the know is reading


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment

        Working...
        X