pixfort Custom CSS Classes

pixfort Custom CSS Classes

The pixfort Theme includes a wide range of utility classes for advanced styling. Below, you’ll find a list of the most useful CSS classes organized by category.

1

Background Colors

All background color classes in the pixfort Theme start with the prefix bg- followed by the color name. For example: bg-green

Main Colors:

bg-gradient-primary

The theme’s primary gradient background

bg-primary

The primary color of the theme.

bg-secondary

The secondary color of the theme.

Basic Colors:

bg-green
bg-blue
bg-yellow
bg-white
bg-black
bg-brown
bg-cyan
bg-red
bg-purple
bg-orange

Light Variant Colors:

bg-green-light
bg-blue-light
bg-yellow-light
bg-brown-light
bg-cyan-light
bg-red-light
bg-purple-light
bg-orange-light

Gray Shades:

bg-gray-1
bg-gray-2
bg-gray-3
bg-gray-4
bg-gray-5
bg-gray-6
bg-gray-7
bg-gray-8
bg-gray-9

Dynamic Gray Shades:

bg-dynamic-gray-50
bg-dynamic-gray-100
bg-dynamic-gray-200
bg-dynamic-gray-300
bg-dynamic-gray-400
bg-dynamic-gray-500
bg-dynamic-gray-600
bg-dynamic-gray-700
bg-dynamic-gray-800
bg-dynamic-gray-900
bg-dynamic-gray-950

Dark & Light Opacity Colors:

bg-dark-opacity-1
bg-dark-opacity-2
bg-dark-opacity-3
bg-dark-opacity-4
bg-dark-opacity-5
bg-dark-opacity-6
bg-dark-opacity-7
bg-dark-opacity-8
bg-dark-opacity-9
bg-light-opacity-1
bg-light-opacity-2
bg-light-opacity-3
bg-light-opacity-4
bg-light-opacity-5
bg-light-opacity-6
bg-light-opacity-7
bg-light-opacity-8
bg-light-opacity-9

Blurred Backgrounds:

bg-dark-blur

bg-light-blur

bg-dynamic-blur

2

Text Colors

All text color classes in the pixfort Theme start with the prefix text- followed by the color name. For example: text-green

Variable Text Colors:

  • text-body-default – For Body text color
  • text-heading-default – For Heading text color
  • text-primary – Primary text color
  • text-secondary – Secondary text color

Dynamic Text Colors:

  • text-dynamic-gray-300 – For Dynamic Gray 300
  • text-dynamic-gray-600 – For Dynamic Gray 600
  • etc.

Static Text Colors:

  • text-white
  • text-blue
  • text-green
  • text-cyan
  • text-yellow
  • text-orange
  • text-red
  • text-brown
  • text-purple

3

Text Sizes

Text size classes use the prefix text- followed by a size value or name.

Available Text Sizes:

  • text-24 – 24px
  • text-20 – 20px
  • text-18 – 18px
  • text-small – 14px
  • text-extra-small – 12px

You can also define your own size in Theme Options > Layout > Advanced > Custom CSS.
For example:

.text-28 {
    font-size: 28px !important;
    line-height: 44px !important;
}

4

Animations

Hover Fly Animation
Fly Small

fly-sm

Fly Medium

fly

Fly Large

fly-lg

Hover Scale Animation
Scale Small

scale-sm

Scale Medium

scale

Scale Large

scale-lg

Hover Scale Inverse Animation
Scale Inverse Small

scale-inverse-sm

Scale Inverse Medium

scale-inverse

Scale Inverse Large

scale-inverse-lg

Scale In Animation
Scale In Extra Small

pix-scale-in-xs

Scale In Small

pix-scale-in-sm

Scale In Normal

pix-scale-in

Scale In Large

pix-scale-in-lg

Infinite Animation
Rotating
Image link

pix-rotating

Inverse Rotating
Image link

pix-rotating-inverse

Fade
Image link

pix-fade

Bounce
Image link

Small

pix-bounce-sm

Medium

pix-bounce-md

Large

pix-bounce-lg

Scale
Image link

Small

pix-scale-sm

Medium

pix-scale-md

Large

pix-scale-lg

Control Animation Speed

Slow

pix-duration-slow

Medium

pix-duration-md

Fast

By default

5

Shadows

Default Shadow
Shadow Small

shadow-sm

Shadow Medium

shadow

Shadow Large

shadow-lg

Default Inverse Shadow
Inverse Shadow Small

shadow-inverse-sm

Inverse Shadow Medium

shadow-inverse

Inverse Shadow Large

shadow-inverse-lg

Hover Shadow
Hover Shadow Small

shadow-hover-sm

Hover Shadow Medium

shadow-hover

Hover Shadow Large

shadow-hover-lg

Inverse Hover Shadow
Inverse Hover Shadow Small

shadow-inverse-hover-sm

Inverse Hover Shadow Medium

shadow-inverse-hover

Inverse Hover Shadow Large

shadow-inverse-hover-lg

To remove a shadow, use: shadow-0

6

Spacing

You can apply responsive margin and padding with shorthand utility classes.

Notation:
Classes use the format: pix-{property}{side}-{size}
Example: pix-px-20 → 20px horizontal padding

Property:

  • m – Margin
  • p – Padding

Side:

  • t – Top
  • b – Bottom
  • l – Left
  • r – Right
  • x – Left & Right
  • y – Top & Bottom
  • (blank) – All sides

Size:

  • 5, 10, 15, 20, 25, 30 , 35, 40, 45, 50, 60, 70, 80, 90, 100, 120, 130, 150, 200

You can add more sizes by modifying the $spacings Sass map variable.

pixfort
pixfort
Support Team

Hey, this is pixfort support team, if you still need help you can always reach us via your pixfort account

Related Posts

Search

Start typing to search for a specific article on our website

Made with Popup Builder
Image link
Hey there

Search for a specific article

Get started

Check useful guides to get started

Still need Help?

Send us a support message

Our usual reply time: 1 Business day