Background color setting

Phoca Download - download manager
danp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Aug 2014, 19:13

Background color setting

Post 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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9095
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Background color setting

Post by Benno »

Hi,
your question cannot be answered without a URL. :(

Kind regards,
Benno
danp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Aug 2014, 19:13

Re: Background color setting

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9095
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Background color setting

Post 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
danp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Aug 2014, 19:13

Re: Background color setting

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Background color setting

Post 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
danp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Aug 2014, 19:13

Re: Background color setting

Post 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
danp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Aug 2014, 19:13

Re: Background color setting

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9095
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Background color setting

Post by Benno »

Ok.

Kind regards,
Christine & Benno
Post Reply