Jump to content

How do I change the block header colour?


Recommended Posts

Topic split - please create a separate topic for unrelated questions

Edit themes/prestashop/img/block_header.gif to change the background and the following code in the /* Default block style */ section of themes/prestashop/css/global.css to change the font size and colour:

div.block h4 {
   text-transform: uppercase;
   font-family: Helvetica, Sans-Serif;
   font-weight: bold;
   font-size: 1.2em;
   padding-left: 0.5em;
   border-bottom: 1px solid #595A5E;
   padding-top: 2px;
   line-height: 1.3em;
   color: #374853;
   height: 19px;
   background: transparent url('../img/block_header.gif') no-repeat top left
}

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
  • 2 weeks later...

I cant find this code in prestashop 1.5

 

/* Default block style */

div.block {

margin-bottom: 1em;

width: 191px

}

#left_column div.block, #right_column div.block{

padding-bottom: 6px;

background: transparent url('../img/block_footer.gif') no-repeat

bottom left

 

 

Can somebody help me.Thank u very much.

Link to comment
Share on other sites

  • 3 months later...

Topic split - please create a separate topic for unrelated questions

 

Edit themes/prestashop/img/block_header.gif to change the background and the following code in the /* Default block style */ section of themes/prestashop/css/global.css to change the font size and colour:

 

div.block h4 {
text-transform: uppercase;
font-family: Helvetica, Sans-Serif;
font-weight: bold;
font-size: 1.2em;
padding-left: 0.5em;
border-bottom: 1px solid #595A5E;
padding-top: 2px;
line-height: 1.3em;
color: #374853;
height: 19px;
background: transparent url('../img/block_header.gif') no-repeat top left
}

 

That's ok! but it chnges the title block of every block but say want a block in some specific color then what to do like -

CATEGORIES

in blue and Contact us in say green then what need to change?

Link to comment
Share on other sites

That's ok! but it chnges the title block of every block but say want a block in some specific color then what to do like -

CATEGORIES

in blue and Contact us in say green then what need to change?

 

 

hey

 

i suggest you to create new thread, because this topic is very old, moreover - your question of course is similar, but a bit different because you want to change background color only for one block

 

waiting for your new thread

 

regards

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...