- Section
- Troubleshooting: Missing Icons
- Spectra Patterns
- Contact Form 7: Multiple Column Fields
- Contact Form 7: Checkbox / Radio / Acceptance Control
- Unable To Style Contact Form 7
- Tab Index For Multiple Gravity Forms
- Getting Started With Spectra
- Exclude Heading From TOC
- Block Display Conditions
- Import Single Pages, Templates, & Block Patterns
- Enable/Disable Design Library Button
- Copy & Paste Style
- Container Flex Property
- Default Content Width
- Blocks Editor Spacing
- Collapse Panels
- Responsive Conditions
- Dynamic Content Extension
- Site Visibility
- Spectra Actions: Clear Cache
- Quick Action Bar
- Add Multiple Instagram Accounts
- Grid Builder
- Move Title Bar To Top
- Resolving Container Layout Conflicts
- Register High-Privileged Users
- User Roles Access To AI
- Database Update Instructions (Below 2.0.0)
- FAQ's: VIP Priority Support
- Whitelist Email Address
- Using ACF Repeater Field in Spectra
- Pixabay Image Search Feature
- How to Fix Stretched Spectra Images in WordPress 6.7
- How to Change Breakpoints in Spectra?
- Importing Starter Templates With Spectra
- Getting Started With Spectra
- Manually Install Spectra Via FTP
- Automatic Beta Updates
- Rollback To Previous Versions
- Load Google Fonts Locally
- Activate Spectra Pro License
- Install Spectra Pro
- Translate Strings With Loco Translate
- Process Refund Requests
- Transparent / Sticky Header
- Change Site Logo
- Change Global Styles
- Disable Title on Posts & Pages
- Transparent / Sticky Header For Single Page / Post
- Change Header & Footer Patterns
- Custom / Google Fonts
- Reset Global Default Styling
- Manually Install Spectra One Via FTP
- Enable / Disable Header & Footer On Specific Pages / Posts
How to Change Breakpoints in Spectra?
This guide shows how to change the breakpoints in Spectra for better control over your site’s responsive design.
By following this simple process, you can customize these breakpoints to match your needs.
What Are Breakpoints in Spectra?
Breakpoints in Spectra define the widths at which your site switches to tablet or mobile views. These help ensure your content looks great on any screen size.
How to Change Breakpoints in Spectra?
To change the breakpoints in Spectra, you need to add a specific code snippet to your site’s wp-config.php file. You can follow these steps carefully:
- Locate Your wp-config.php File:
This file is located in the root directory of your WordPress installation.
You can access it via your hosting control panel or an FTP client.
2. Add the Code: Copy and paste the following code into your wp-config.php file:
define( 'UAGB_TABLET_BREAKPOINT', '800' );
define( 'UAGB_MOBILE_BREAKPOINT', '500' );
Please remember the above breakpoint will work for dynamic CSS loaded for the Spectra on the frontend.
3. Save the Changes: After adding the code, save the wp-config.php file and upload it back to the server if you accessed it via FTP.
When Will These Changes Take Effect?
The new breakpoints will apply to the dynamic CSS loaded by Spectra on the frontend of your site. Make sure to clear your site’s cache to see the changes immediately.
Additional Notes
- Ensure you handle the wp-config.php file carefully. Incorrect changes to this file can break your site.
- Test your site’s responsiveness after making changes to verify the new breakpoints are working as intended.
- If you’re not comfortable editing the file yourself, consider seeking assistance from a developer or your hosting provider.
We hope this document helps you customize breakpoints in Spectra with ease.
If you have any questions or need further assistance, please leave a comment below. Your feedback is always welcome!
We don't respond to the article feedback, we use it to improve our support content.