Page 1 of 1

[v4.0.2] Custumize css

Posted: 22 Oct 2013, 01:02
by msig010500
Hello,

I try to change aspect of galleries for my site in menu "Gallerie".

For category - All is right. My css is very simple :

Code: Select all

.pg-csv-box {
  float: left;
  padding-left: 10px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 40px;
  margin:   5px;
  background: #292929;
}
.pg-csv-box:hover {
  background: #4b5929;
}
.pg-csv-box-img {
  border: 5px solid #ffffff;
}
.pg-csv-name {
  font-size: xx-small;
  text-align: left;
  margin-top: 5px;
}
.pg-csv-count {
  font-size: xx-small;
  color: #ffffff;
But the same code doesn't work for categories (.pg-cv-xxxxxxxx).
For exemple for ".pg-csv-box ", "padding-left: 10px;" doesn't change result but "background: #292929;" works perfectly.

Have you an idea for helping me ?

Thanks

Michel.

PS : Sorry if my english is awfull but I'm french. So, for answer, use simply words :oops:

Re: [v4.0.2] Custumize css

Posted: 22 Oct 2013, 23:35
by Jan
Hi, for this you need to inspect on your site which css rules are overwritten, which not, which are first, which last, etc. :idea:

Re: [v4.0.2] Custumize css

Posted: 06 Nov 2013, 01:35
by msig010500
Hi,

I'd like do check what you advocate but, in fact, I don't know how to do this ...

Re: [v4.0.2] Custumize css

Posted: 07 Nov 2013, 02:21
by Jan
Hi, just see your site e.g. in Firefox and run Firebug to see which classes are used and which attributes are really active (firebug cross out overwritten attributes so you will know which attributes are active)

Jan

Re: [v4.0.2] Custumize css

Posted: 12 Nov 2013, 18:15
by msig010500
Hi,

After long, long time of search and any burnout of my brain ... I found ...

I had one .item in other css so i created one .pg-cv-box.item in my sheet (wallperper.css) and all is fine :) I don't know if this is the better solution but it works.

Thank you very much for your help.