Pakk Documentation
More HelpSubmit TicketPakk.io
  • Docs Home
  • Pakk Explained in 2 Minutes
  • Account Setup
    • Brands
    • Shipping Methods
      • Restricting Shipping Methods
      • Shipping Calculations
    • Payment Methods
      • Stripe
      • Paypal
      • Paytriot
      • VivaWallet
    • Admin Panel
      • Beginner Tutorial Series
        • Part 1: Overview of the Main Menu and Auxiliary Functions
        • Part 2: Overview of the Main Menu and Entities in the Admin Panel
        • Part 3: Overview of Data Management Features: Sorting, Filtering, and Bulk Actions
        • Part 4: Warnings and Detail Views
        • Part 5: Auxiliary Functionality
      • List Views
        • List View FAQs
      • Troubleshooting
  • Suppliers and Purchasing
    • Purchase Orders
      • Item Types
      • Stock Receipts
      • Invoicing and Payment
    • Demand Planning
      • Approaching the Demand Planner
      • Data Sources
      • Concepts
      • The Maths Behind the Predictions
      • Order Screen
  • Customers and Sales
    • Leads
    • Orders
      • Order Sources
        • Telephone Orders
        • In-Person Sales
      • Item Types
      • Order Status
        • Committed
        • Invoiced/Cash Saled
        • Dispatched
        • Paid
      • Order FAQs
    • Sales
      • Limitations of Sales
      • Entering and Processing Sales
      • Invoicing
      • Cancellation, Returns, Credits and Refunds
    • Credit Management
      • Payment Methods and Flows
      • Credit Terms
      • Credit Management
      • Credit Control
    • Credits, Refunds, Returns and Replacements
      • Customer Credits
        • Raising a Credit
        • The Impact of a Credit
        • Using a Credit
        • Checking Your Logic
      • Returns
      • Common Scenarios
    • Help Desk
      • Tickets
      • Configuring your Help Desk
      • Ticket Creation
      • Ticket Management
    • Loyalty Program
      • Set up Your Loyalty Program
      • Activate Your Loyalty Program on Site(s)
      • Administer your Loyalty Program
      • Accounting Considerations
  • Accounting, Bookkeeping and Finance
    • Accounting Overview
    • Accountants Guide to Pakk
    • Journal Entries
    • Rounding
    • Period Locking
    • Reconciliations
      • Create a Reconciliation
      • Build the Reconciliation
      • Completing Reconciliations
    • Cost of Goods Sold (COGS)
    • Multi-Currency
      • Exchange Rates
  • Products and Inventory
    • Pricing
      • Base Price
      • Bulk Pricing
      • Pricing Schemes
      • Per-Site Pricing
      • Web Discounts
      • Discount Adjustment Lines
      • Composite Products
    • Stock Control
      • Batches
        • Reusing Batches
    • Custom Product Attributes
      • Attribute Types
      • Attribute Setup
      • Apply to Products
    • Stock Adjustments
      • Stock Valuation
      • Assembly Builds
    • Multi-Location
      • Setting Up Locations
      • Items, Batches and Locations
      • Moving Stock between Locations
      • Incoming Stock
      • Outgoing Stock
    • Gross Margin Calculation and Control
      • Set up Default Variable Cost Parameters and Target Margin
      • Overrides
      • Margin Calculations
  • Websites
    • Visual Style Guide
      • Logo
      • Colour
      • Typography
      • Header
      • Custom CSS
      • Imagery
      • Icons
    • Configuration and Customisation
      • Website Development
      • Navigation Menus
        • Menus
        • Slots
          • Aux Bar Menu
          • Main Menu
          • Footer Menu
    • Product Categorisation
      • Related Groups
      • Product Variants
        • Variant Axes
        • Custom Attributes
        • Variant Category
        • Category List Page
        • Variant Shell Page
      • Category Warnings
    • Filtering and Sorting
      • Sorting
      • Filtering
    • Content
      • FAQs
        • Setting up FAQs
        • Using FAQs Around Your Site
      • Pages
      • Posts
      • Forms
        • How Customer Forms Work
        • Advanced Customisation
        • Confirmations, Notifications and Form Submissions
        • Use Cases and Examples
      • Feature Blocks
      • Feed Posts
      • Videos
    • SEO
      • What you need to do
      • What you don't need to worry about
    • Google Services
      • Analytics
      • Merchant Centre and Shopping Feed
      • Search Console and Sitemap
      • Adwords
    • GDPR, Privacy and Cookies
      • GDPR
      • Cookies
    • Reviews
      • Merchant Reviews
        • Shopping Experience Reviews
      • Product Reviews
    • Checkout
      • New Customers
      • Invoice Options
      • Custom Checkout Questions
      • Signup Options
    • Passwordless Login
    • Webstore Features
    • Email Sending
  • Admin and Reporting
    • Document Storage
    • Email Sending and Receiving
      • Postmark Setup
    • PDFs and Printing
  • Data and Integrations
    • Using Pakk with Other Systems
      • Pakk Integrated to Legacy Stock System
    • Data Import and Export
      • Export
        • CSV Conventions
        • List Fields
      • Import
        • Referencing Other Records
        • Test then Commit
        • Advanced
        • Importing Images & Documents
      • Tips and Tricks
    • API
      • Integrations
      • API Keys
      • Authentication
      • Integration Data (Key-Value Store)
      • Exploring API Requests and Responses
      • API Structure
        • Utility Endpoints
        • Generic Entity API
        • RPC API
        • CSV API
        • Document API
    • Webhooks
      • Setting Up a Webhook
      • Configuring the Webhook
      • Webhook Signature Verification
      • Data Transformation
      • Testing the Webhook
      • Webhook Execution Log
  • Pakk Services
    • Fulfilled by Pakk (FBP)
      • Overview of the Integration
      • Configuration
      • The FBP Tab
      • Products
      • Orders
      • Purchase Orders/ASNs
      • List Views
    • PakkPay
      • How to Setup PakkPay
Powered by GitBook
On this page
  • Pros and Cons of Using Custom CSS
  • The Pakk Custom CSS editor
  • Custom CSS Examples in Pakk:
Export as PDF
  1. Websites
  2. Visual Style Guide

Custom CSS

How to access deep site customisation in Pakk with custom CSS

There's no need to use custom CSS at all in Pakk - everything you need to customise in order to maintain a clean, branded and functional experience is included out of the box. However, for those scenarios where you need to a custom tweak here and there, Pakk gives you access to customise the underlying CSS of your site.

Remember our built-theme and default layouts reflect up-to-date best practices for e-commerce websites. We do the research and all the hard work for you to make sure your website is the best it can be. We also conduct thorough testing on a wide range of devices. There are lots of different browsers both on desktop and mobile, and lots of different screen sizes. If you go down the custom CSS route, make sure that any CSS changes are thoroughly tested so all your customers have a great experience using your website.

Pros and Cons of Using Custom CSS

Pros

  1. Complete Control: Custom CSS allows you to have complete control over the look and feel of your website. You can style elements exactly how you want them.

  2. Unique Design: Stand out from other Pakk stores by implementing unique styles that reflect your brand's personality.

  3. Advanced Styling: Achieve advanced styling techniques that might not be possible with the default options provided by Pakk.

Cons

  1. Maintenance: Custom CSS requires ongoing maintenance, especially when updates are made to the Pakk platform. You need to ensure your custom styles don't conflict with new features or changes.

  2. Cross-Browser Compatibility: Custom styles need to be tested across different browsers and devices to ensure they work correctly for all users. This is really important: changes that make your webpage look great on a big desktop screen might not work that well on a small phone screen

  3. Complexity: Adding custom CSS can increase the complexity of your site’s codebase, making it harder to troubleshoot issues or onboard new team members.

  4. Potential for Errors: Incorrect or poorly written CSS can break the layout or functionality of your site, leading to a poor user experience.

The Pakk Custom CSS editor

Use Pakk’s Custom CSS editor to apply styles across the entire website or to specific elements like product titles, categories, buttons, and navigation menus. Find the CSS editor at Websites > Template > Custom CSS.

Next to the editor, you'll find a tick box that can enable or disable all custom CSS with just one click, so if something goes wrong you can go back to the uncustomed webpage with just one click - this is very useful for trying to identify layout and styling bugs that might have been introduced through your custom CSS

Using the editor is straightforward, add lines of CSS code and press the Save button to apply them. As with any other changes made to the website setup, you can quickly view the effects of your custom CSS by using the preview feature, where you can see both a desktop and a mobile version of your site.

How to Identify CSS Targets for Customisation

To modify elements using custom CSS, you first need to find the elements on your website. Here’s how to open Developer Tools and inspect elements in a web browser:

  1. Right-click anywhere on the page (or on a specific element you want to change, such as a title or button).

  2. Select "Inspect" (on Google Chrome) or "Inspect Element" (on Firefox).

This will open the Developer Tools window, where you’ll see the HTML code for the element you clicked on. You can then view the class, ID, or tag that is associated with the element.

For example, if you right-click a product title, you might see something like this:

<h1 class="product-title">Product Name</h1>

Now that you've identified the class (product-title), you can use it to write custom CSS for the element.

Custom CSS Examples in Pakk:

Example 1: Global Font Change for the Entire Website

To change the font for the entire website, you can target the <body> tag.

Add the following CSS to apply a global font change:

/* This will change the font for all the (standard) text on the website*/
body { 
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

Example 2: Customizing Product Names Across the Website

Find and inspect a product name, you might find a tag like this:

<div class="product-name">MyProductName</div>

Add the following CSS to style all product titles across the website:

/* This will change the font type and size for all product titles the color to green*/
body {
    .product-page {
        .product-name {
                font-family: 'Lora', serif;
                font-size: 38px;
                color: green;
        }
    }
}

Example 3: Customizing fonts on the USP bar

Change the default font size, make it bold, and change the background colour of the USP bar

/* This will change the font and background of the USP bar*/
ul.usp-bar {
    font-weight: bold; 
    font-size: 24px;  }
    backbround-color: rgba(0, 0, 255, 1); /* blue */ 
}

Example 4: Customizing the size of your Hero image

Make the minimum height of your hero image bigger

/* make hero shot a bit larger vertically */
.main-content-area.home .blocks-container .block-row:first-child .block {
    min-height: 70vh;
}
PreviousHeaderNextImagery

Last updated 8 months ago