# Scroll to Top - WordPress Plugin

A customizable scroll-to-top button for WordPress websites.

## Installation

1. Upload the `scroll-to-top-qg1e` folder to your WordPress `/wp-content/plugins/` directory
2. Activate the plugin through the "Plugins" menu in WordPress
3. Configure settings via **Settings > Scroll to Top**

## Features

- **Three Button Styles**: Circle, Arrow, or Text ("Top")
- **Custom Colors**: Choose background and text/icon colors
- ** Adjustable Size**: Small, Medium, or Large
- **Position Options**: Bottom-right or Bottom-left
- **Mobile Toggle**: Show or hide on mobile devices
- **Smooth Scrolling**: Animated scroll to top
- **Live Preview**: See changes in real-time in the admin panel

## How It Works

The button appears automatically when visitors scroll down the page (after 200px). Clicking it smoothly scrolls to the top of the page.

## Files

- `scroll-to-top.php` - Main plugin file
- `admin/settings-page.php` - Settings page HTML
- `assets/admin.css` - Admin panel styles
- `assets/admin.js` - Admin panel JavaScript with live preview
- `assets/frontend.css` - Frontend button styles
- `assets/frontend.js` - Frontend scroll functionality

## License

GPL v2 or later
