how can hide those elements from gallery ?

Phoca Gallery - image gallery extension
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

how can hide those elements from gallery ?

Post by sofian »

hi
i am using joomla 4.2.2
phoca gallery 4.5
gallery display by menu not module .

i want to hide the RSS yellow icon and the overly box for name and information .
see this image :
https://www.raed.net/img?id=114985

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

Re: how can hide those elements from gallery ?

Post by christine »

Hi,

theme_standard: description would be underneath (if wanted)

theme_simple: overlay: Try with following code into you custom.css or (if cassiopeia): user.css

.pg-item-box-info, .pg-category-box-info {
display: none;
}

Options > Generell Settings: Display RSS (Feed) link > No.

Kind regards
Christine
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: how can hide those elements from gallery ?

Post by Benno »

Hi,
overlay box:
theme_simple.css
line 112

Change code from:

Code: Select all

.pg-item-box-title, .pg-category-box-title {
    position: absolute;
    bottom: 0em;
    left: 0em;
    padding: 0.5em;
    color: #fff;
    font-weight: bold;
    background: rgba(0,0,0,.5);
    width: 100%;
    border-radius: 0 0 3px 3px;
    font-size: 115%;
}
to:

Code: Select all

.pg-item-box-title, .pg-category-box-title {
    position: absolute;
    bottom: 0em;
    left: 0em;
    padding: 0.5em;
    color: #fff;
    font-weight: bold;
    background: display none;
    width: 100%;
    border-radius: 0 0 3px 3px;
    font-size: 115%;
}
But this change will be overwritten with every Phoca Gallery update. Therefore it is better to create a custom.css with the following content:

Code: Select all

.pg-item-box-title, .pg-category-box-title {
    background: display none;
}
Feed icon:
backend --> Components --> Phoca Gallery --> Control Panel --> Options --> General Settings --> RSS (Feed) Settings --> Display RSS (Feed) link=No

Kind regards,
Benno

Edit: Too slow.. :wink:
Hi Christine :)
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

Re: how can hide those elements from gallery ?

Post by sofian »

perfect .
many thanks .
sonshitsu
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Sep 2022, 01:27

Re: how can hide those elements from gallery ?

Post by sonshitsu »

sofian wrote: 09 Sep 2022, 12:18 hi
i am using joomla 4.2.2
phoca gallery 4.5
gallery display by menu not module .

i want to hide the RSS yellow icon and the overly box for name and information .
see this image :
https://www.raed.net/img?id=114985
Thank you.
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: how can hide those elements from gallery ?

Post by christine »

Hi sofian,

Thanks for your feedback.

Kind regards
Christine
Post Reply