Add a padding-right to the product view

  • Posts: 27
  • Thank you received: 0
13 years 8 months ago #10905

Hi

On the individual product view, I would like to add padding-right: 160px to the main text so that it doesn't go all the way across the page (it's just a stylistic thing).

I assumed that I could do this in the front-end css file, and have looked at this section

/* different parts of the show of a product */
.hikashop_product_top_part{
width:100%;
}
.hikashop_product_left_part{
text-align:center;
float:left;
width:50%;
}
.hikashop_product_main_image_thumb{
margin-bottom:5px;

}
.hikashop_product_image_image {
width: 600px !important; height: 600px !important;
}
.hikashop_product_right_part{
float:left;
padding-left:1px;
}
.hikashop_product_bottom_part{
clear:both;
width:100%;
}


Is this the right place to look? I tried adding the padding line to product_bottom_part but this did not work.

Thanks
Mark

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10914

Hi,

We can't answer precisely without a link to your page so that we can use firebug on it.

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

  • Posts: 27
  • Thank you received: 0
13 years 8 months ago #10930

Hi Nicolas

The site is here: www.s357199216.websitehome.co.uk/

And I'm intereseted in having the individual product listing main text as look as though it is central - in the left column there is a module switched on but not on the right, so the content area is floating to the right.

For example:

http://www.s357199216.websitehome.co.uk/index.php?option=com_hikashop&ctrl=product&task=show&cid=75&name=sweet-pea-soap&Itemid=58&category_pathway=0

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10931

You can add the CSS below:

.hikashop_product_description_main{
width: 500px;
display: block;
}

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

  • Posts: 27
  • Thank you received: 0
13 years 8 months ago #10970

Thanks, Nicolas. Amazing support as always.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum