Forums / Templates, Stylesheets, Page Layout / Own style to Column Grid?????

Own style to Column Grid?????

Locked

Views: 2,506

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
27 Oct 2007, 7:49 AM
#1
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Own style to Column Grid?????

Hi!
I´m totally losing it soon. I have tried for 2 days now to get my own look at Column Grid Layout.
I need help!!!!

I have a custom template installed and I have tried to change in the css of that template and also default template but nothing happens with the style of product listing in column grid??

Can someone please point me in the right direction? Which file shall be changed? Does the column grid module point to any css at all or where does it get its style from? I cant find anything in product_listing that makes any different. I´m quite a neewbie at this stuff.

i´m going mad if I cant fix this so please help me!

I want to put my own style at header

See attached file for more info.

Best regards,
Ola

27 Oct 2007, 8:52 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Own style to Column Grid?????

Where did you get the custom template? Can you post a link to your site? That would allow us to give you specific accurate advice.

28 Oct 2007, 5:23 AM
#3
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Own style to Column Grid?????

Yea, a link (to your cart) perhaps would be more useful to understand it better.

CSS Evangelist

28 Oct 2007, 9:07 AM
#4
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Own style to Column Grid?????

Sorry,
heres the link.
www.botweb.se/klockor

I cant figure it out. I put in even more hours now but can fix it. :(

/Ola

28 Oct 2007, 9:52 AM
#5
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Own style to Column Grid?????

To style Titles (eg. Axcent 1973 X44001-414): Edit .txt4 class in style.css

To style pricing (eg. 2,000.00): Edit .price_txt class in style.css

Hope it helps.

CSS Evangelist

28 Oct 2007, 12:01 PM
#6
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Own style to Column Grid?????

Hi,
and thanks for the answer Nimbuz.

That part i had figured out. Those changes make effect on the startpage etc. The stuff I havent figured out yet is the listing that comes from Column Grid Layout-mod seen here http://www.botweb.se/klockor/index.php?main_page=index&cPath=1

Changes in style.css doesnt bite here. Even though I create a new class???

Best regards,
Ola

28 Oct 2007, 12:40 PM
#7
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Own style to Column Grid?????

You gave us the wrong URL then? Ah!

Try this:

h3.listingDescription a,active,visited {
background:#c00 !important;
}
.listingDescription {
color:#c00;
}

First is for Title, second for description. Price can't be styled until you wrap it in DIV, SPAN, P etc..

CSS Evangelist

28 Oct 2007, 7:05 PM
#8
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Own style to Column Grid?????

Hi Nimbuz,
sorry for the url!

Thx for the answer! How do I wrap the price so I can give it a class?

best regards,
Ola

30 Oct 2007, 9:10 PM
#10
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Own style to Column Grid?????

Hi Nimbuz!
Thanks for your help! it solved the first problem. Now I saw you got help with your issue in the other thread and that issue was remaining for me also.
I just didn´t understand where to place the code to make Price separated?
Your thread was about the page Featured products right? I need those changes on regular categorys like the one on the link above. I would also need help to get an image instead of "Read more" link.

I would really appreciate your help!

Best regards,
Ola

31 Oct 2007, 3:57 AM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Own style to Column Grid?????

The solution for the Column Grid mod will use the same kinds of additions, but differently enough organized that it warrants an answer in this thread. I'll go look at the file and come back with some specifics.

31 Oct 2007, 5:26 AM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Own style to Column Grid?????

In /includes/modules/your_template/product_listing.php, find this```php
case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = $lc_price;

    // more info in place of buy now
'<div class="productListPrice">' . 
and
</div>
to get this```php
        case 'PRODUCT_LIST_PRICE':
        $lc_price = '<div class="productListPrice">' . zen_get_products_display_price($listing->fields['products_id']) . '</div><br />';
        $lc_align = 'right';
        $lc_text =  $lc_price;

        // more info in place of buy now
```Then you can style .productListPrice in your stylesheet.
31 Oct 2007, 8:02 AM
#13
jagge avatar

jagge

Zen Follower

Join Date:
Jul 2007
Posts:
110
Plugin Contributions:
0

Re: Own style to Column Grid?????

Many thanks for the answer!
I´ll try this when I´m back home.

Thx!

Ps. No idea how to fix a button instead of Read more link?