Page 1 of 1
How to enable ne theme
Posted: 02 Nov 2015, 15:04
by TraaBBIT
Hello.
I upgraded my page from J2.5 to J3.4.
How to enable grey theme?
I have it on my old site:
http://wduchuswietym.com/index.php/pobi ... /4-koronki
And I want to have it on my new site:
http://betty71.pro-linuxpl.com/wduchu35 ... /4-koronki
Re: How to enable ne theme
Posted: 02 Nov 2015, 18:53
by christine
Hi,
Try following please:
add following to your template.css:
Code: Select all
#phoca-dl-category-box .pd-filebox {
background-attachment: scroll;
background-clip: border-box;
background-color: #ffffff;
background-image: url("images/grey-bg.png");
background-origin: padding-box;
background-position: left top;
background-repeat: repeat-x;
background-size: auto auto;
border-bottom-color: #ccc;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
border-image-slice: 100% 100% 100% 100%;
border-image-source: none;
border-image-width: 1 1 1 1;
border-left-color: #ccc;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #ccc;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #ccc;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-style: solid;
border-top-width: 1px;
box-shadow: 0 1px 3px #fff inset, 0 0 3px #ccc;
clear: both;
margin-bottom: 10px;
margin-left: 0;
margin-right: 0;
margin-top: 10px;
padding-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
padding-top: 15px;
}
#phoca-dl-category-box .pd-button-mirror1 a, #phoca-dl-category-box .pd-button-mirror2 a, #phoca-dl-file-box .pd-button-mirror1 a, #phoca-dl-file-box .pd-button-mirror2 a, #phoca-dl-category-box .pd-button-play a, #phoca-dl-category-box .pd-button-preview a, #phoca-dl-category-box .pd-button-download a, #phoca-dl-category-box .pd-button-details a {
display: inline-block;
padding: 7px 12px 8px 28px;
text-decoration: none;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
position: relative;
cursor: pointer;
text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.25);
font-weight: bold;
font-size: 110%;
color: #fff;border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-style: solid;
border-top-width: 1px;
background-color:#269926;
}
Kind regards, Christine
Re: How to enable ne theme
Posted: 03 Nov 2015, 09:57
by TraaBBIT
I added that code to my template.css but this part:
Code: Select all
#phoca-dl-category-box .pd-filebox {
background-attachment: scroll;
background-clip: border-box;
background-color: #ffffff !important;
background-image: url("images/grey-bg.png");
background-origin: padding-box;
background-position: left top;
background-repeat: repeat-x;
background-size: auto auto;
border-bottom-color: #ccc;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
border-image-slice: 100% 100% 100% 100%;
border-image-source: none;
border-image-width: 1 1 1 1;
border-left-color: #ccc;
border-left-style: solid;
border-left-width: 1px;
border-right-color: #ccc;
border-right-style: solid;
border-right-width: 1px;
border-top-color: #ccc;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-style: solid;
border-top-width: 1px;
box-shadow: 0 1px 3px #fff inset, 0 0 3px #ccc;
clear: both;
margin-bottom: 10px;
margin-left: 0;
margin-right: 0;
margin-top: 10px;
padding-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
padding-top: 15px;}
is still taken from
http://betty71.pro-linuxpl.com/wduchu35 ... wnload.css, not from my template css.
Re: How to enable ne theme
Posted: 03 Nov 2015, 11:55
by christine
Hi,
as you wanted to get similar 'look' from your old site, I checked the old one ....
Added parts of them at the end to the template.css. Why do you not try it?
Maybe the new ..../media/com_phocadownload/css/main/phocadownload.css has some changes to the older one.
When I add the code temporarily, what you asking for, then I will get white background with borders etc.
Kind regards, Christine
Re: How to enable ne theme
Posted: 03 Nov 2015, 13:09
by TraaBBIT
OK.
I got all.
Thank You
Re: How to enable ne theme
Posted: 03 Nov 2015, 14:12
by christine
Hi,
that's fine
Kind regards, Christine