Jump to content

[SOLVED]: Product view - changing column size and erasing lines


LasseSJ

Recommended Posts

HI.

 

I'm making a new shop in the Presta 1.45.

Please see the attached file/image in this post.

 

My questions for you Guys:

 

1. How can I move the column between the product text and cart? (I need the product text column to expand to the right and the cart to be smaller to the left )

 

2. How can I erase the 3 white lines in the product view? I removed the "sort by", now it only shows how many items there is in the first white line. But I would like that gone too.

 

Here is the link also.

 

http://smartkajak.dk...egory&id_lang=2

 

Thanking you.

Greetings from Copenhagen.

Lasse

post-534111-0-75199100-1365874197_thumb.jpg

Edited by LasseSJ (see edit history)
Link to comment
Share on other sites

Open file /themes/<your theme folder>/css/category.css

Find:

.resumecat {

margin:15px 0 10px 0;

padding:8px 7px;

color:#000;

background:#f0f0f0;

display: none; // add this line

}

 

in /themes/<your theme folder>/css/global.css, find:

 

#center_column .sortPagiBar {

padding:10px;

font:normal 11px Arial, Verdana, sans-serif;

color:#666;

background:#eee;

display: none; // add this line

}

 

Not sure what you mean in question 1. Please some image with explanation.

 

My 2 cents,

pascal

Link to comment
Share on other sites

Thanks Pascal.

 

However, there is still one White line in the top, saying "There are 2 products", how can I erase that line too?

http://smartkajak.dk/prestashop/index.php?id_category=8&controller=category&id_lang=1

 

Regarding nr. 1?:

How can I move the CART column more to the right?

Then the product describtion column can expand more to the right... see here:

http://smartkajak.dk/prestashop/index.php?id_category=8&controller=category&id_lang=2

 

Thanks,

Lasse

Link to comment
Share on other sites

Hi Lasse,

I can't find in your code that you put the display:none to the .resumecat part. Please check in file:

/themes/<your theme folder>/css/category.css

if you added the line at:

 

.resumecat {

margin:15px 0 10px 0;

padding:8px 7px;

color:#000;

background:#f0f0f0;

display: none; // add this line. I cannot see that you did yet on your page

}

 

2) As you don't habe a right column, you might try this. edit:

/themes/<your theme folder>/header.tpl

 

and find this piece of code: (probably at the end of the file)

 

<!-- Center -->

<div id="center_column" class=" grid_5">

 

 

change this into

 

<!-- Center -->

<div id="center_column" class=" grid_7">

 

 

Hope that does the trick.

pascal

Link to comment
Share on other sites

Hi Pascal.

 

1) is solved. Strange it didn't appear first. Thanks.

 

2) I already use this line:

 

<!-- Center -->

< div id="center_column" class=" grid_7 omega">

 

It does the job and opens the center column all to the right.

 

I think you don't understand what I need:-)

Please check the image I attached.

 

I want to move the Black line to the red line, so that the cart field will be smaller, and the product description field will be bigger.

 

I hope you see.

Peace, Lasse

post-534111-0-79882100-1365925012_thumb.jpg

Link to comment
Share on other sites

Ah, misunderstood indeed:

2) open file themes/<your theme folder>/css/product_list.css

 

find: (around line 28)

#product_list li .center_block {

float: left;

padding:0 7px;

width: 500px; // change this value to around 500 or so

border-right:1px dotted #ccc

}

 

Hope this does the trick,

Pascal

Link to comment
Share on other sites

Hi Lasse,

Glad it all works out fine :-)

 

Go to Preferences->Images

Change the width and height values of the home_default item (say 124->150)

 

Scroll down in this screen and press the button Regenerate thumbnails.

 

That should do it,

Pascal

Link to comment
Share on other sites

Ok, just quick then...

themes/<your theme folder>/css/product.css, line 135:

/* pb-left-column ****************************************************************************** */

#pb-left-column {

float:left;

margin-left:14px;

width:440px; // change 255 to this...

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...