=== B'SD Header Text ===
Contributors: eliyahna
Donate link: https://eliyahna.com/donate/
Tags: header, text, Hebrew, responsive, top-right, בס"ד  
Requires at least: 5.0  
Tested up to: 6.8  
Requires PHP: 7.4  
Stable tag: 1.5  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Adds a small בס"ד text to the top right corner of every page. Customize font size, color, and responsive positioning for desktop, tablet, and mobile devices.

== Description ==

**B'SD Header Text** is a simple plugin that displays the Hebrew text בס"ד (B'Siyata D'Shmaya) in the top right corner of your website. Ideal for Jewish websites or anyone wishing to display this text symbolically.

✅ Features:
- Displays בס"ד on all frontend pages  
- Customize:
  - Font size
  - Text color
  - Top and right margins
- Responsive positioning:
  - Separate margin settings for desktop, tablet, and mobile views
- Lightweight and unobtrusive
- RTL-friendly  
- Fully compatible with block and classic themes

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/bsd-header-text` directory, or install via the WordPress Plugins screen.
2. Activate the plugin through the ‘Plugins’ menu.
3. Go to **Settings → B'SD Header Text** to configure the text size, color, and responsive margins.

== Frequently Asked Questions ==

= How can I customize the text style? =  
Go to **Settings → B'SD Header Text** in your WordPress dashboard. From there, you can change:
- Font size
- Text color
- Top/right spacing for different devices

= Will it work with any theme? =  
Yes! It is designed to work with any modern WordPress theme. If you're using a heavily customized theme or framework, feel free to contact support for integration tips.

= Is it RTL (right-to-left) friendly? =  
Yes. The text is placed in the top right corner and uses `direction: rtl` for proper rendering of Hebrew.

= Can I change the text from בס"ד to something else? =  
Not currently. The plugin is focused on displaying בס"ד, but a future version may allow full text customization.

== Screenshots ==

1. The בס"ד text shown in the top-right corner of a site.
2. Admin settings panel with options for font size, color, and responsive margins.

== Changelog ==

= 1.5 =
* NEW: Added responsive margin support for desktop, tablet, and mobile views.
* NEW: Separate top and right margin controls for each screen size.
* Updated admin UI for margin controls.
* Cleaned up dynamic CSS injection.

= 1.2 =
* Fixed: Critical error due to broken markup in settings page.
* Improved escaping and sanitization.
* Minor refactors.

= 1.1 =
* Added admin settings page to control font size and color.
* Customizable top and right margins.
* Inline dynamic CSS for appearance.

= 1.0 =
* Initial release. Displays בס"ד in top-right corner of every page.

== Upgrade Notice ==

= 1.5 =
This version adds responsive margin support for different devices. Please check your plugin settings after upgrading.

== License ==

This plugin is free software under the terms of the GNU General Public License as published by the Free Software Foundation.
