Read FAQ
NEW
Bitrix24 Support
Registration and Login
Bitrix24 Security
Plans and Payments
Alaio Vibecode
Employee Widget
CoPilot - AI in Bitrix24
Booking
Contact Center
Sales Center
Analytics
BI Builder
e-Signature
Knowledge base
Telephony
Bitrix24 Messenger
General questions
Log In
Your Bitrix24
Authorize to enter
your company's Bitrix24.
Enter

Bitrix24 Helpdesk

Add custom CSS to website and online store

In Bitrix24, you can use custom CSS to control how your website looks.

Custom CSS requires experience. If you’re new to CSS, review basic tutorials before you begin.
CSS tutorials

Before you start

Publish your page first. Then select the block you want to edit, right-click it, and choose Inspect.


Change element color

Font color

Use the block ID and class:

 #block3233 .landing-block-node-title 
{
color: #FF6347 ;
}
If you don’t include the block ID, the change applies to all similar blocks on the page.

Background color

Use the block ID and the class for the entire block. Make sure to specify the section tag:

 #block3233.block-27-3-one-col-fix-title section
{
background-color: #00FFFF;
}

Add custom CSS

  • Open the action menu.
  • Select Configure site.
  • On the site settings page, find Custom CSS.
  • Enable the option, paste your code, and click Save.

You don’t need to publish the site again. Just refresh the page to see the changes.

Use the !important directive

You can force a style to apply by using the !important directive. It overrides standard CSS rules and gives the style higher priority.

Example:

The !important directive overrides the normal rules of the cascade and gives that style very high specificity (e.g., color: FF6347 !important;). [


Hiding block elements

You can hide elements in a block with custom CSS.

  • Publish the site.
  • Open developer tools and find the block class.
  • Add your code in the Custom CSS field:
.landing-block-node-price-button
{
display: none;
}

Save your changes and refresh the page.

In the Bitrix24 On-Premise version, custom CSS is available starting from Sites module version 18.5.8. Make sure your Bitrix24 is up to date before using this feature.

Was this information helpful?
Thank you for your feedback.
Get Implementation Help from a Partner
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Get your Bitrix24 set up by local professionals
FIND BITRIX24 PARTNER NEAR ME
implementation_helper_man
Go to Bitrix24
Don't have an account? Create for free
Related articles
Site access permissions Site and page settings Automatic block transitions, FAQ blocks, and GIF images Change Bitrix24 site and store subdomain YouTube videos and Shorts in Bitrix24 Sites Website favicon Change design in Sites and Stores Unpublish or delete a site Tables in Bitrix24 Sites, Stores, and Knowledge bases Cookie processing