Jump to content

css output in body. Where can I find it?


Recommended Posts

There is quit a bit of inline css in my page body. I have had a look at product-list.tpl, but can't really find it. (the page I am talking about is the product list)

 

I just can't seem to find it to make some changes.

 

Does anyone know where I can find this css code?

 

For example the first line of code:

 

 

 


.required_info, .error, a.color, .autumn_add_to_cart:disabled, .autumn_add_to_cart_ph:disabled, .ac_product_name strong, #cart_block .price, .sf-contener .sf-menu > li > a:active, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active, .sfHoverForce > a, #featured-products_block_center .on_sale, #featured-products_block_center .discount, #featured-products_block_center .price_container .price, #layered_block_left .layered_subtitle, #layered_block_left .nomargin a:hover, #category_view_type.grid_view #product_list .product_list_details_left .price, #category_view_type.grid_view #product_list .product_list_details .on_sale, #category_view_type.grid_view #product_list .product_list_details .discount, #category_view_type.grid_view #product_list .product_list_details .online_only, #category_view_type.list_view #product_list .product_list_details_left .price, #category_view_type.list_view #product_list .product_list_add_to_cart .out-of-stock, #category_view_type.list_view #product_list .product_list_details .on_sale, #category_view_type.list_view #product_list .product_list_details .discount, #category_view_type.list_view #product_list .product_list_details .online_only, #product_price_block .our_price_display, #product_stock_stat #availability_statut span#availability_value.warning_inline, #product_stock_stat #last_quantities, #new_comment_form .title, #product_comparison .price, #product_comparison .discount, #product_comparison .on_sale, table.autumn-table a:hover, table.std a:hover, ul.step li.step_current span, ul.step li.step_current_end span, ul#order_step li.step_done:after, table#cart_summary tfoot .price, .addresses ul.address .address_delete a, p.required sup, .payment_module:hover a, ul.myaccount_lnk_list li a:hover, #block-history #order-detail-content span.price, #block-history #order-detail-content span.price-shipping {


    color: #7E9C84 !important;
}

 

 

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

there are two possibilities:

1) it's a part of header.tpl file (located in your theme) but i don't think so that this is the problem

2) it's a part of one module you've got. which one? go to modules > positions, search for displayHeader modules list, what module you've got right after addshoppers module? you have to check it first, definitely

Link to comment
Share on other sites

Style comes from autumn.css and are called (supposingly in header.tpl) by commands:

<style>

    .required_info, .error, a.color, .autumn_add_to_ca…

</style>
<style>

    input.button_mini, input.button_small, input.butto…

</style>
<style>

    .autumn_add_to_cart:hover, .autumn_add_to_cart_ph:…

</style>
<style>

    .autumn_add_to_cart, .autumn_add_to_cart_ph, input…

</style>

(I've shortened the styles to make it simpler.)

Link to comment
Share on other sites

There are no styles in header.

The header document is the same as the original prestashop header.

 

Autumn.css is not generating those styles, or at least, I do not know how.
If you look at the page provided, you see at the bottom that the "new" tag on a product is all green. This green is called from somewhere, but not autumn.css!

 

Link to comment
Share on other sites

×
×
  • Create New...