
內容簡介
Custom CSS for Elementor 是一個方便的工具,可以在桌面、平板電腦和行動裝置上為元素製作 CSS 代碼,可以協助您省去多次書寫媒體查詢等困擾。Custom CSS for Elementor 外掛附帶預設媒體查詢系統。
請查看外掛的 GitHub 存儲庫,網址:Custom CSS for Elementor
所需工具
只支援 Elementor 免費版
如何使用 Custom CSS for Elementor
此外掛為即插即用,未提供任何設定頁面,安裝 Custom CSS for Elementor 外掛後,編輯任何 Elementor Widget 後,切換到「進階」選項卡,您將看到 Custom CSS for Elementor 的新手風琴式選單。展開風琴式選單後,您將看到三個不同的欄位,可為元素製作 CSS 代碼。如果您要為不同裝置顯示不同設計,按需選擇裝置面板即可。
步驟:編輯任何 Elementor Widget > 進階選項卡 > Custom Css for Elementor
注意:根據一般 CSS 邏輯,如果您為較大的屏幕 (桌面電腦) 編寫 CSS,它將按照時間順序自動應用于較小的裝置。如果您想為較小的裝置更改任何設計,必須為較小的裝置編寫不同的 CSS。
在 Custom CSS for Elementor 外掛中,如果您想要添加全局 CSS,只需在桌面/全局面板中編寫 CSS 代碼,代碼會自動應用於其他螢幕。如果您想為平板電腦更改 CSS,必須在我們的平板電腦 CSS 面板中編寫不同的 CSS。對於行動裝置,如果您想更改 CSS,請在我們工具的行動裝置 CSS 面板中編寫不同的 CSS。
請不要忘記檢查下面的屏幕截圖,以獲得有關工具的清晰概述。
為什麼需要這款工具
如果您知道 Elementor 的多個 DOM 創建問題,您就會知道其中的困擾。但是,如果您使用簡單的 CSS,可以減少很多臃腫的代碼。但是,如果要為各種裝置編寫 CSS,必須成為 CSS 專家,因為您必須每次處理媒體查詢。但是,我們的 Custom CSS for Elementor 外掛將成為您的救星。我們處理您痛苦的部分。此外,如果您使用 Elementor Free 來管理您的網站,您不需要轉到佈景主題自訂器的其他 CSS 中添加自定義 CSS,因為我們為您構建此工具。它只是 Elementor Pro 內置的 Custom CSS 面板的進階版本。
Elementor Custom CSS 外掛的關鍵功能
作為一個基本工具,我們已經與您分享了。總而言之,以下是 Elementor 自定義 CSS 外掛的其他功能:
這是一個輕量級的外掛,將使用 Elementor CSS 文件來併入自定義 CSS。不會產生新的 CSS,以減少伺服器請求。
當您通過樣式控制更改樣式時,您可能會面臨缺少選項的問題,但是我們的 Custom CSS for Elementor 外掛允許您透過編寫 CSS 來解決這些缺點。
我們通過維護世界級的安全方法來準備這個工具。而且,我們已經執行了惡意軟體測試,測試通過了。
它能夠與任何 Elementor widget 以及第三方 Elementor addons widgets 一起使用。
隱私政策
我們不收集您的任何個人數據或任何類型的日誌。因此,透過此外掛不會有違反您的隱私的機會。
技術支援
我們都知道沒有什麼是完美的。但是,通過共享和關懷,我們都能讓一切對每個人都變得完美。如果您在給我們一個負評之前發現任何錯誤,請告訴我們。支援站台
外掛標籤
開發者團隊
原文外掛簡介
Custom CSS for Elementor is a handy tool for writing CSS codes within different devices like Desktops, Tablets & Mobile for Elementor Widgets. It will help you to not bother with writing media queries several times. Custom CSS for Elementor plugin comes with the default media query system.
See the plugin’s GitHub repository Custom CSS for Elementor
📢 Big Announcement –
After getting several requests we have added live preview mode while styling with CSS. Now you can see the reflection instantly. No hassle of continual preview checks in the front end.
Enjoy styling with CSS without any hassle.
Required Tools
Elementor Free Only
📘 How to Use Custom CSS for Elementor
First of all, it’s a plug-and-play tool. You will not get any setting page. So, after installing the Custom CSS for Elementor tool, just navigate to any Elementor Widget editing panel, then jump on the Advanced tab section; you will get a new accordion of Custom CSS for Elementor. Unfold the accordion, and you will get three different fields to write CSS codes for your widgets. If you want to show different designs for different devices, choose the device panels according to your needs.
Direction: Edit any Elementor Widget > Advanced Tab > Custom Css for Elementor
Note: According to general CSS logic, if you write CSS for a bigger screen (Desktop), it will be automatically implemented on smaller devices chronologically. If you want to change anything for a smaller screen, you have to write different CSS for smaller screens.
In our Custom CSS for Elementor addon, if you want to add global CSS, just write CSS code in the desktop/global panel, and the code will be automatically implied to the other screen. If you want to change the CSS for Tablets, you have to write different CSS in our Tablet CSS panel. And same goes for mobile devices. If you want to change the CSS for Mobile devices, write different CSS in the Mobile CSS panel of our tool.
Don’t forget to check the Screenshots below to get a clear overview of the tool.
❓ Why You Need This
If you know the Elementor’s plenty of Dom creation issues, you will know the pain. But you can reduce so many bloated codes if you use simple CSS. But writing CSS for various devices, you need to be an expert on CSS as you have to deal with the Media Query every time. But our Custom CSS for Elementor addon will be the savior for you. We are handling the pain part of yours. Moreover, to add custom CSS, you don’t need to go to the Additional CSS of the theme customizer if you are using Elementor Free to manage your site as we build this tool for you. It’s just an advanced version of the Elementor Pro’s Default Custom CSS panel.
🔥 What Are the Key Features of Elementor Custom CSS Plugin
As the essential tool, we have shared with you. But in short, here are the other features of the custom CSS addon for Elementor,
It’s a lightweight plugin that will use Elementor CSS files to enqueue custom CSS. Won’t generate any new CSS to reduce server requests.
You can face lacking options during change style through style control, but our Custom CSS for Elementor Addon will allow you to write CSS to overcome these lackings.
We prepared this tool by maintaining a World-class safety methodology. Also, we have run the malicious test, and it passed all the tests.
It works with any Elementor widget and other third-party Elementor addons widgets too.
💻 How to Change Breakpoints in WordPress
To modify breakpoints for tablet and mobile devices in WordPress, you can add custom code to your theme’s functions.php file. Breakpoints determine when your website layout switches between different screen sizes, ensuring optimal display across devices.
Changing Tablet Breakpoint
To adjust the breakpoint for tablets, follow these steps:
Open your WordPress theme’s functions.php file.
Add the following PHP code snippet:
add_filter( 'custom_css_for_elementor_breakpoints' , function( $default_breakpoints ) {
$default_breakpoints['tablet'] = 768; // change this value
return $default_breakpoints;
}, 20, 1);
Save the file.
Changing Mobile Breakpoint
To customize the breakpoint for mobile devices, use the following instructions:
Navigate to your theme’s functions.php file.
Insert the following PHP code:
add_filter( 'custom_css_for_elementor_breakpoints' , function( $default_breakpoints ) {
$default_breakpoints['mobile'] = 425; // change this value
return $default_breakpoints;
}, 20, 1);
Save the changes.
By adjusting these breakpoints, you can fine-tune your website’s responsiveness and ensure a seamless viewing experience across various devices.
PRIVACY POLICY
We are not collecting any of your personal data or any kind of logs. So there will be no chance to violate your privacy through this plugin.
For Technical Support
We all know nothing is perfect. But we all make everything perfect for everyone by sharing and caring. If you find any bug before giving us a negative rating, please report us here. We will definitely try to resolve your issue asap. Without your support, we cannot run this project so longer smoothly.
ABOUT THE MAKER
I am Sayedul Sayem, a Bangladeshi full-stack WordPress developer and free and open source enthusiast. As Custom CSS for Elementor is an open-source project, you can encourage me by giving me a 5* rating. Nothing also, you can contact me on my LinkedIn for consultation or just to say hello. I love talking to new people. So don’t hesitate.
