Remove Border in Phoca Download Plugin?

Phoca Download - download manager
f00dagi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Sep 2017, 15:26

Remove Border in Phoca Download Plugin?

Post by f00dagi »

Hi!

I have really been struggling with removing the borders around the files in Phoca Download Plugin but not succeeded.
See examples here: http://brfgotheborg.se.loopiadns.com/in ... dokument-2.

I assume I should change something in /.../public_html/media/com_phocadownload/css/main/phocadownload.css?

Please let me know if you have any ideas.

Joomla version: 3.8.0.
Phoca Download version:3.1.1.

-Daniel

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2735
Joined: 28 Nov 2010, 17:20

Re: Remove Border in Phoca Download Plugin?

Post by christine »

Hi Daniel,
f00dagi wrote: 24 Sep 2017, 16:00Joomla version: 3.8.0. Phoca Download version:3.1.1.
Just for generell information: There are some bugs etc. concerning Joomla 3.8. E.g. Gantry, Frameworks and other Templates.
Check also framework etc. for update version: http://gantry.org/

Phocadownload: Both - component & plugin latest version: 3.1.2
https://www.phoca.cz/download/category/ ... -component
https://www.phoca.cz/download/category/ ... oad-plugin

also in generell: All CSS changes in Gantry 5 should be done in: custom.scss:
http://docs.gantry.org/gantry5/tutorial ... tyle-sheet

You could change following code:

Code: Select all

.phocadownloadfilelist {
    background: #fdfdfd;
    border: 1px solid #cccccc;
    margin: 5px;
   }
to put new code into your custom.scss:

Code: Select all

.phocadownloadfilelist {
    background: #fdfdfd;
    margin: 5px;
    border:none;
}
Kind regards, Christine
f00dagi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Sep 2017, 15:26

Re: Remove Border in Phoca Download Plugin?

Post by f00dagi »

Hi Christine

Thanks for your time and detailed answer. I realised I am actually on Joomla 3.4.1 if it matters.

I created a custom.scss in directory /brfgotheborg.se/public_html/administrator/components/com_gantry5/custom/scss. Is that the correct location for the Gantry custom.scss?

To the custom.scss I added the code that you suggested (where did you find that code, I have been searching in phocadownload.css?).

Code: Select all

.phocadownloadfilelist {
    background: #fdfdfd;
    margin: 5px;
    border:none;
}
I recomplied css successfully in Gantry but the borders are still there. I did not other changes. What am I doing wrong?

-Daniel
f00dagi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Sep 2017, 15:26

Re: Remove Border in Phoca Download Plugin?

Post by f00dagi »

I actually solved it by editing /brfgotheborg.se/public_html/media/plg_content_phocadownload/css/phocadownload.css.

-Daniel
christine
Phoca Hero
Phoca Hero
Posts: 2735
Joined: 28 Nov 2010, 17:20

Re: Remove Border in Phoca Download Plugin?

Post by christine »

Hi Daniel,

yes, whenever you want to amend/create etc. CSS, the correct way in Gantry is using the custom.scss & after this, to recompile - as you wrote. Maybe this was in this case not possible (successfull), because it's plug_content ....

Hope, that you are actually now on Joomla 3.8 > not on Joomla 3.4.1 and check Gantry update (see previous link).

Thank you for your information and solution.

Kind regards, Christine
Post Reply