We're launching V3 beta on the powerful Laravel Cloud this week!

Manage Account
CMS Max
  • Pricing
  • POS Systems
  • Themes
  • Plugins
  • Partners
  • FAQ's
    • Blogs
    • Bootstrap / Front-end
    • Template
    • eCommerce Support
    • Forms
    • Galleries
    • Images
    • Misc.
    • Repeatable Blocks
    • SEO
    • Social Media
    • Settings
    • Video
    • Users
  • About
    • Affiliate
    • News
    • Us in the Community
    • Careers
    • Brand Guidelines
  • Discord
  • Contact
Search
Sign Up
FAQ's

FAQ's

  • Blogs
  • Bootstrap / Front-end
  • eCommerce Support
  • Forms
  • Galleries
  • Template
  • Images
  • Misc.
  • Repeatable Blocks
  • SEO
  • Social Media
  • Settings
  • Video
  • Users

Add-ons

  • Careers
  • Events
  • Locations
  • Reviews
  • Staff Members
  • SEO Max

FAQ's

  • Blogs
  • Bootstrap / Front-end
  • eCommerce Support
  • Forms
  • Galleries
  • Template
  • Images
  • Misc.
  • Repeatable Blocks
  • SEO
  • Social Media
  • Settings
  • Video
  • Users

Add-ons

  • Careers
  • Events
  • Locations
  • Reviews
  • Staff Members
  • SEO Max

  1. Home
  2. FAQs
  3. Bootstrap / Front-end
  4. How to Link a DIV?

How to Link a DIV?

In the CMS editor, it is technically not feasible to enclose <div> elements within <a> elements. Instead, you have the option to include specific attributes to the <div> elements:

  • data-widget-link-href
  • data-widget-link-target (optional)
  • data-widget-link-class (optional)

For example, setting in the editor these attributes in such way (please use the sidebar for this, there is no need for Source dialog here):

<div data-widget-link-href='http://example.com' data-widget-link-class='cls1' data-widget-link-target='_blank'>...</div>

will convert this <div> into a <a href><div> structure:

<a href='http://example.com' class='cls1' target='_blank'>
<div>...</div>
</a>

Building Relationships with Web Developers and Marketing Agencies that want better results

The world's fastest and most SEO friendly website code.

View Packages View Packages
MAIN MENU
  • Home
  • FAQ's
  • Blog
  • Careers
  • Versions
  • API Documentation
  • Sitemap
  • Contact
LATEST NEWS
  • The Largest Non-Public CMS Platform Built on Laravel
  • How to get a Liquor license in NY State
  • Payments Fraud
  • CMS Max Announces Seamless Integration with Paya ACH Payment Services
  • Introducing Twilio Integration on CMS Max Websites: Connect, Communicate, Convert!
PRODUCTS
  • Liquor Max
  • Nexus Connector
  • Chamber Max
  • Max Payments
  • CBD CMS
  • Ambulance Max

Copyright © 2025 CMS Max. All Rights Reserved | Terms/Privacy Policy

Contact Us
Manage Account