RTL compatibility for the Ultimate GDPR plugin - createIT
Get a free advice now!

    Pick the topic
    Developer OutsourcingWeb developingApp developingDigital MarketingeCommerce systemseEntertainment systems

    Thank you for your message. It has been sent.
    Tags

    RTL compatibility for the Ultimate GDPR plugin

    RTL compatibility for the Ultimate GDPR plugin

    CHALLENGE: we would like to secure uploaded files, so Media Library will be accessible only to users that are logged in

    SOLUTION: use htaccess to redirect requests to wp-content/uploads/ files to PHP script.

    The Ultimate GDPR plugin, the best selling toolkit for GDPR & CCPA Compliance for WordPress, is an all-in-one solution for meeting privacy requirements. With a 4.5/5 star rating and nearly 7k copies sold at codecanyon.net, the plugin is considered a trusted and reliable tool. You may know the GDPR under different names, like: AVG, RODO, “Cookie law”, DSG, DSGVO, RPDG, RGDP or “data protection law” – all those names refer to the same law and are covered by the plugin.

    One of the most important features is: Cookie consent – a dedicated box for cookie consent and a cookie blocker until the consent is given, also known as a “cookie bar”.

    Your website might be using an RTL language like: Arabic, Hebrew, Persian or Urdu. Right to left means that writing starts from the right of the page and continues to the left. Websites need a special HTML markup and an additional style-rtl.css to be compatible with RTL languages.

    Cookie Bar RTL Ready

    To make Cookie Bar working correctly for Right-to-left websites – you need to add custom CSS:

    • go to Wp-admin / Ultimate GDPR & CCPA / Cookie Consent / Preferences / Custom style CSS
    • and paste the custom styles:
    .rtl .ct-ultimate-gdpr-cookie-modal-slider [type=radio]:checked, 
    .rtl .ct-ultimate-gdpr-cookie-modal-slider [type=radio]:not(:checked) {
        position: absolute;
        left: auto;
        opacity: 0;
    }
    .rtl .ct-ultimate-gdpr--Groups-4 .ct-slider-cookie2 .ct-ultimate-gdpr-slider, 
    .rtl .ct-ultimate-gdpr--Groups-4 .ct-slider-cookie3 .ct-ultimate-gdpr-slider, 
    .rtl .ct-ultimate-gdpr--Groups-4 .ct-slider-cookie4 .ct-ultimate-gdpr-slider {
        margin-left: auto;
        margin-right: 25%;
    }

    That’s it! Make sure you follow us for other useful tips.

    Comments
    0 response

    Add comment

    Your email address will not be published. Required fields are marked *

    Popular news

    Automating stock and price updates in WooCommerce
    • Dev Tips and Tricks

    Automating stock and price updates in WooCommerce

    September 23, 2024 by createIT
    Integrating advanced subscription features in WooCommerce
    • Dev Tips and Tricks

    Integrating advanced subscription features in WooCommerce

    September 16, 2024 by createIT
    Fetching Time records from ActiveCollab API
    • Dev Tips and Tricks

    Fetching Time records from ActiveCollab API

    September 9, 2024 by createIT
    Docker Compose for PrestaShop
    • Dev Tips and Tricks

    Docker Compose for PrestaShop

    September 2, 2024 by createIT
    WordPress wizard in admin – step by step
    • Dev Tips and Tricks

    WordPress wizard in admin – step by step

    August 29, 2024 by createIT
    Order Status Sync between PrestaShop and External APIs
    • Dev Tips and Tricks

    Order Status Sync between PrestaShop and External APIs

    August 26, 2024 by createIT
    What is PHP used for in web development 
    • Dev Tips and Tricks

    What is PHP used for in web development 

    August 22, 2024 by createIT
    Automating WooCommerce product availability date
    • Dev Tips and Tricks

    Automating WooCommerce product availability date

    August 15, 2024 by createIT
    WP Quiz Adventure – FAQ
    • Dev Tips and Tricks

    WP Quiz Adventure – FAQ

    August 12, 2024 by createIT

    Technology
    Be on the same page as the rest of the industry.

    Contact us