XF 2.2 How to edit "Page navigation"?

Dkf

Active member
Background gradient and other
Thank You
 

Attachments

  • Screenshot_2.webp
    Screenshot_2.webp
    4.6 KB · Views: 7
Solution
The inspection tool that most browsers come with does wonders.

To get you started just a few of the CSS properties for the pagenav selectors.


Code:
.pageNav-page.pageNav-page--current {
background:green;
color:red;
}

Code:
.pageNav-page
{
background:purple;
color:cyan;
}

Code:
.pageNav-jump:hover, .pageNav-jump:active {
background: #171717;
}

Code:
.pageNav-page:last-child {
background:blue;
color:white;
}

Code:
.pageNav-page:not(:first-child) {
background: cyan;
color:red;
}

As for gradient... they are done using the background designator and simply using standard CSS for defining gradients.
similar to background: linear-gradient(0deg, #1f1f1f, #252525);


But since you are using a custom style... some...
The inspection tool that most browsers come with does wonders.

To get you started just a few of the CSS properties for the pagenav selectors.


Code:
.pageNav-page.pageNav-page--current {
background:green;
color:red;
}

Code:
.pageNav-page
{
background:purple;
color:cyan;
}

Code:
.pageNav-jump:hover, .pageNav-jump:active {
background: #171717;
}

Code:
.pageNav-page:last-child {
background:blue;
color:white;
}

Code:
.pageNav-page:not(:first-child) {
background: cyan;
color:red;
}

As for gradient... they are done using the background designator and simply using standard CSS for defining gradients.
similar to background: linear-gradient(0deg, #1f1f1f, #252525);


But since you are using a custom style... some of this can only really be determined by using the above mentioned inspection tool... not to mention, I'm sure much of that is actually defined in your Style Properties also.
 
Solution
The inspection tool that most browsers come with does wonders.

To get you started just a few of the CSS properties for the pagenav selectors.


Code:
.pageNav-page.pageNav-page--current {
background:green;
color:red;
}

Code:
.pageNav-page
{
background:purple;
color:cyan;
}

Code:
.pageNav-jump:hover, .pageNav-jump:active {
background: #171717;
}

Code:
.pageNav-page:last-child {
background:blue;
color:white;
}

Code:
.pageNav-page:not(:first-child) {
background: cyan;
color:red;
}

As for gradient... they are done using the background designator and simply using standard CSS for defining gradients.
similar to background: linear-gradient(0deg, #1f1f1f, #252525);


But since you are using a custom style... some of this can only really be determined by using the above mentioned inspection tool... not to mention, I'm sure much of that is actually defined in your Style Properties also.
How to edit this code?
I didnt found this css code :(
 
As @nicodak stated... those are CSS entries to place in your EXTRA.less that is specific to the style you are working on.

To get to it, you go into your ACP -> Appearance -> Templates, select the style you need to edit

Screen Shot 2022-09-18 at 3.17.58 PM.webp

and then in the filter box type in EXTRA and it will pull it up.

Screen Shot 2022-09-18 at 3.09.26 PM.png

Then you can insert that code into there


Screen Shot 2022-09-18 at 3.10.28 PM.png
 
Last edited:
Back
Top Bottom