Page 1 of 1

how to add css style fore those elements ?

Posted: 10 Sep 2022, 18:48
by sofian
hi
please see this 2 images :
https://www13.0zz0.com/2022/09/10/17/132202451.png
https://www13.0zz0.com/2022/09/10/17/532125545.png

i want to add css code for them but they dont have any class .

Re: how to add css style fore those elements ?

Posted: 10 Sep 2022, 19:07
by Benno
Hi,
what do you want to change? If you only want to hide these fields, you can do this in the options of your menu entry for the Phoca Gallery component.

Kind regards,
Benno

Re: how to add css style fore those elements ?

Posted: 10 Sep 2022, 19:32
by sofian
Benno wrote: 10 Sep 2022, 19:07 Hi,
what do you want to change? If you only want to hide these fields, you can do this in the options of your menu entry for the Phoca Gallery component.

Kind regards,
Benno
i want to add bold font and change the font family .
if i do this for the parent div , all the text will got the css .

Re: how to add css style fore those elements ?

Posted: 11 Sep 2022, 14:16
by Jan
Hi, the best way is always use the custom.css or user.css in template. Each template have instruction how to use own custom css styles. This is the file, where all changes should be done - and then they are valid even for all components.

Jan

Re: how to add css style fore those elements ?

Posted: 11 Sep 2022, 18:32
by sofian
Jan wrote: 11 Sep 2022, 14:16 Hi, the best way is always use the custom.css or user.css in template. Each template have instruction how to use own custom css styles. This is the file, where all changes should be done - and then they are valid even for all components.

Jan
my question was not where to add css .
my question is how to add css for these elements .
in other words : how to select them by css for style them by css ?

i have my custom css file .

Re: how to add css style fore those elements ?

Posted: 11 Sep 2022, 23:03
by christine
Hi,

if you mean the pagination:

Code: Select all

.pagination {
font-weight: bold;    
}
what ever you want to change. More infos could be given with shown live URL.
Above I took from the demo: https://www.phoca.cz/demo/1-architecture

Kind regards
Christine

Re: how to add css style fore those elements ?

Posted: 12 Sep 2022, 18:51
by sofian
christine wrote: 11 Sep 2022, 23:03 Hi,

if you mean the pagination:

Code: Select all

.pagination {
font-weight: bold;    
}
what ever you want to change. More infos could be given with shown live URL.
Above I took from the demo: https://www.phoca.cz/demo/1-architecture

Kind regards
Christine
yes , works 100% .
thanks

Re: how to add css style fore those elements ?

Posted: 12 Sep 2022, 18:52
by christine
Hi,

On your screenshot I don't see bold words.

When entering (temporary) on the demo - above Code, the words:
Ordering
Display Num
becomes bold.

Kind regards
Christine

Re: how to add css style fore those elements ?

Posted: 12 Sep 2022, 19:01
by christine
Hi,

My post belonged to your previous post and screenshot, we had written at the same time, but you deleted it.
It's OK now.

Kind regards
Christine

Re: how to add css style fore those elements ?

Posted: 15 Sep 2022, 17:13
by sofian
christine wrote: 12 Sep 2022, 19:01 Hi,

My post belonged to your previous post and screenshot, we had written at the same time, but you deleted it.
It's OK now.

Kind regards
Christine
no problem .
all ok .
thanks