Docs
Sticky
ska-theme includes an Alpine.js component for creating a sticky header. For creating a sticky header, add the x-data=”skaSticky” attribute to the element that should stick. That element will receive the .is-sticky class when it is sticky. Arguments can be specified like this: x-data=”skaSticky({offset: 128})”, x-data=”skaSticky({trigger: ‘.ska-menu’, offset: -10})” When making a sticky header, it’s a…Read moreContact Form 7
ska-theme includes compatibility with the popular Contact Form 7 plugin. With the theme, the default CF7 contact form will have the following appearance out of the box: The styles utilize the Button, Primary button, Form inputs, Label and Loading presets, as well as Tailwind configuration “warning”, “positive”, “negative” and “info” Theme palettes for styling notices.…Read moreWooCommerce
WooCommerce remains as one of the easiest and most customizable solutions for running an e-commerce store. ska-theme includes support for the WooCommerce plugin. Once you’ve installed and activated the plugin, take a look at the theme options’ WooCommerce section, which allows to configure how many products to display per page, how to render the product…Read moreMenu
Examples of styling the <ul> -> <li> elements produced by the Menu block with Tailwind classes. Usage – copy the code for the desired appearance, paste it into your block editor, swap out the Menu block’s placeholder menu with one from your own WordPress nav menus. You can then edit the Tailwind classes to tailor…Read moreVariables
Variables allow creating arbitrary Tailwind classes that create CSS variables, such as [–var:value]. Adding a value prefixed with — to the Tailwind input allows to create a “variable”: A variable value can be a raw value or a value of a specific type: Variable name can also contain variants, such as sm:–var, which would create…Read moreCookie consent notice
From ska-theme -> General -> Cookie notice option it’s possible to enable displaying a dialog that notifies users about cookies. The contents of the notice can be changed by editing the Appearance -> Editor -> Patterns -> General -> Consent dialog template part. By default the notice integrates with WP Consent API and Google Site…Read moreLanding page
To create a landing page, you’ll want to add a new WordPress page and assign the Full width template for it (a template that comes with ska-theme). Template can be changed from the right sidebar when editing a page: Choose Swap template and pick the Full width template. Once created, you can make the page…Read more