Page 1 of 1

how can hide those elements from gallery ?

Posted: 09 Sep 2022, 12:18
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

Re: how can hide those elements from gallery ?

Posted: 09 Sep 2022, 13:40
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

Re: how can hide those elements from gallery ?

Posted: 09 Sep 2022, 13:53
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 :)

Re: how can hide those elements from gallery ?

Posted: 09 Sep 2022, 20:31
by sofian
perfect .
many thanks .

Re: how can hide those elements from gallery ?

Posted: 10 Sep 2022, 01:28
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.

Re: how can hide those elements from gallery ?

Posted: 10 Sep 2022, 09:26
by christine
Hi sofian,

Thanks for your feedback.

Kind regards
Christine