Page 1 of 1

Background color setting

Posted: 04 Apr 2021, 20:57
by danp
Hi,
I need to view the pages of phoca download, in particular those "list of files (category view)" with a precise background color (of the whole page), but ... I can't do it.
I ask for help!
Thanks

Re: Background color setting

Posted: 04 Apr 2021, 21:37
by Benno
Hi,
your question cannot be answered without a URL. :(

Kind regards,
Benno

Re: Background color setting

Posted: 05 Apr 2021, 07:14
by danp
Hi,
Thanks for the reply.
Here is a URL: https://www.icarcevia.edu.it/area-documentale.html. I would like the list of phoca download files on a white background, masking the checkered background.
Regards,
Daniele

Re: Background color setting

Posted: 05 Apr 2021, 10:32
by Benno
Hi,
create a custom.css file with this content, or if it already exists copy this lines to the end of content.

Code: Select all

#column_colonna-118_BZG6yaqt {
    background: white;
}
Kind regards,
Benno

Re: Background color setting

Posted: 05 Apr 2021, 12:09
by danp
Hi,
OK thanks. However, in this way, the whole page becomes white, and the change covers all the pages of the site, not just those of phoca downloads. I would like the white background only concerned the page area where the list of files appears, as happens, for example, for the display of the articles (https://www.icarcevia.edu.it/comunicazi ... gente.html): the background of the article is white, but at the bottom of the whole page (and on the margins) you see the checkered background.
Excuse me if I take advantage of your availability and competence.
Thanks
Best Regards

Re: Background color setting

Posted: 05 Apr 2021, 13:18
by christine
Hi,
In principle, the codes from Benno are correct.
danp wrote: 05 Apr 2021, 12:09 ... you see the checkered background.
But I think, the main reason is the background image from your template jsn_educare.

Code: Select all

.sunfw_section_main_body {
  background-color: #fbfbfb;
  background-image: url("../../../../images/sfondo-quadretti2.jpg");
  color: #4e4e4e;
  font-size: 14px;
  line-height: 1.4;
}
To change, resp. to delete the background-image: https://www.icarcevia.edu.it/images/sfo ... retti2.jpg

add to your: https://www.icarcevia.edu.it/templates/ ... custom.css

Code: Select all

.sunfw_section_main_body {
background: none;  
}
Kind regards
Christine

Re: Background color setting

Posted: 05 Apr 2021, 14:25
by danp
I thank you for the contribution. I don't want to eliminate the checkered background. I just want the contents of the pages overlap to it. The background should remain visible for zones of content-free pages.
Best Regards

Re: Background color setting

Posted: 05 Apr 2021, 15:03
by danp
I replaced the code suggested by Benno with this:

Code: Select all

# phoca-dl-category-box {
     Background: White;
}
In this way, I got the desired result.
Thanks again for the suggestion.
Best Regards
Daniele

Re: Background color setting

Posted: 05 Apr 2021, 16:13
by Benno
Ok.

Kind regards,
Christine & Benno