how to add css style fore those elements ?

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

how to add css style fore those elements ?

Post 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 .

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

Re: how to add css style fore those elements ?

Post 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
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

Re: how to add css style fore those elements ?

Post 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 .
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48400
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to add css style fore those elements ?

Post 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
If you find Phoca extensions useful, please support the project
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

Re: how to add css style fore those elements ?

Post 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 .
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: how to add css style fore those elements ?

Post 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
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

Re: how to add css style fore those elements ?

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: how to add css style fore those elements ?

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: how to add css style fore those elements ?

Post 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
sofian
Phoca Member
Phoca Member
Posts: 26
Joined: 09 Sep 2022, 09:47

Re: how to add css style fore those elements ?

Post 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
Post Reply