Questions tagged [sass]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Sass @use and the style.css file header

Apologies if this has already been asked/answered, but numerous searches haven't turned up what I'm looking for. I've been out of the dev game for a minute and I came back to see that Sass is warning ...
AVWW's user avatar
  • 1
1 vote
1 answer
521 views

Webpack does not create or update index.asset.php file in build folder

I am using @wordpress/scripts package to set up Webpack in a WordPress theme. However, I ran into a problem with default Webpack configuration as it is creating an unnecessary .js file inside the ...
Badan's user avatar
  • 225
0 votes
1 answer
15 views

Styling not refreshing for old visitors on WordPress

I’m working on correcting a styling of an element on an WP-based eCommerce site. The site has both SCSS and CSS files. To make things quick, I edited the CSS via Appearance -> Customize -> ...
vishnu's user avatar
  • 101
1 vote
0 answers
366 views

How to Enable Hot Module Replacement with Webpack

I am using @wordpress/scripts to set up WordPress with Webpack in a Wordpress theme. The current configuration works fine and compiles the scss and js files from the src folder when I run npm run ...
Badan's user avatar
  • 225
0 votes
0 answers
143 views

underscores theme - sass folder structure vs smacss

I am using Undescores theme and it comes with the following default SASS folder structure I am thinking to implement SMACSS approach to handle CSS. Since SMACSS uses the following categories - Base, ...
810311's user avatar
  • 41
0 votes
0 answers
42 views

Dynamically populated scss values or how to change styles by user choice

When building websites I use scss to write my stylesheet and gulp to put it together into style.css I know there is a way to dynamically populate the values in css using style.php instead.Is there a ...
iuriiGav's user avatar
1 vote
0 answers
55 views

Link theme options page using ACF to styles

Forgive me, I'm very much a beginner. I'm looking into custom theme development and creating a theme options page. Using the options page, I want to set a primary color that will be used across all ...
Cobyfoster99's user avatar
0 votes
0 answers
2k views

Uncaught TypeError: r is not a function

I built a plugin that registers a Gutenberg block that prints a simple Mailchimp form. The plugin works with no issues. But, if I activate Jetpack and try to edit any page or post, I get a blank ...
leemon's user avatar
  • 1,898
0 votes
1 answer
64 views

SASS not showing in customized preloader plugin

I am new to WordPress and webdev in general so my skills are moderate. I am using a plugin called WP Smart Preloader to build my sites preloader. It allows for the use of custom HTML and CSS. The HTML ...
wuh's user avatar
  • 1
2 votes
1 answer
374 views

Are there any caveats to compiling all of my theme's SCSS into the style.css file in the theme root?

I work in WordPress development and I've always been told by more seasoned WP devs to compile my theme SCSS into a separate style.css file, typically into a sub-directory like assets/css/style.css. ...
Dan Walsh's user avatar
0 votes
1 answer
2k views

Importing sass into underscores theme

I am developing a new theme using Underscores. I am starting the process of migrating in the code from the already built site in html/css. I built it using .scss files and am not sure where to copy ...
user55555's user avatar
0 votes
1 answer
825 views

Underscore - Self hosted fonts

Trying my hand on building a theme with sass, having a bit of a problem with figuring out how to use my self hosted font in the project. This is probably dirt simple, and as usual I'm overcomplicating ...
Catalina Gonzalez's user avatar
0 votes
2 answers
154 views

Force Code (Appearance) Editor to Use Spaces Not Tabs

We use SASS when building custom themes, and sometimes clients need a quick change made which is easier to do on the server rather than locally and pushing new changes. To that end, we've installed ...
armadadrive's user avatar
0 votes
1 answer
2k views

How to style bootstrap container in wordpress theme?

I am createing the footer.php for my costum theme. The whole footer is full with/356. In the middle of this container I another container which is 960/252. Inside I have some components(logo, social ...
Vanina Yordanova's user avatar
0 votes
1 answer
325 views

What's is the best stack for cPanel continuous deployment?

My current environment involving: Gulp (task automation) Sass Bitbucket (for version control) But for deployment, I always manually override the files through FTP. And re-import the database. The ...
AlbertSamuel's user avatar
0 votes
0 answers
73 views

How to set up workspaces with Chrome & WordPress?

I'm using SASS & Gulp for my development. Though I can’t properly setup workspace in Google Chrome. I add project folder (should be theme folder, right?) but what should I map to what to edit ...
Runnick's user avatar
  • 1,009
0 votes
1 answer
647 views

Correct way of Enqueue self hosted fonts in sass project

Trying my hand on building a theme with sass, having a bit of a problem with figuring out how to use my self hosted font in the project. This is probably dirt simple, and as usual I'm overcomplicating ...
nicklas bryntesson's user avatar
0 votes
1 answer
164 views

Do I need to re-import Susy to work with it in a child theme? [closed]

I'm sure this is a question with a simple answer. I am working on a Storefront child theme. Storefront's stylesheet has been compiled using the Susy grid system - and I was hoping to inherit mixins ...
Isaac Lubow's user avatar
3 votes
1 answer
657 views

Why isn't my theme processing SASS?

It's my understanding that Wordpress now processes SASS files but for some reason mine don't work. I'm trying to call it using wp_enqueue_style directly in header.php via the head tag: <?php ...
nipponese's user avatar
  • 133
0 votes
1 answer
584 views

Custom CSS Not working on Product page

I'm building a etsy style site using WooCommerce and WC Vendors with the JointsWP framework (Foundation). On my front-page all the custom Sass is rendering fine. On the shop page it is not ...
BHalvy82's user avatar
1 vote
2 answers
191 views

Recommended tools for Theme Development with SASS [closed]

My question is - what are other people's processes in most efficiently developing WordPress themes that utilize SASS and what tools are you using? I also develop from multiple locations/machines (both ...
adambock's user avatar
0 votes
1 answer
60 views

Blog styling in SASS

Every so often I get a request like this: "Build a site using WordPress as the CMS [easy...]. Oh and we'll have a standard looking blog thrown in. No need to worry about styling, the default look ...
PeterB's user avatar
  • 236
0 votes
0 answers
283 views

Why are my parent styles loading after my child styles?

I am trying to build a child theme that uses SCSS. However, every time I make changes and recompile my stylesheet, it gets overridden by the parent stylesheet. This is because, in the head of my site, ...
mcography's user avatar
  • 363
2 votes
1 answer
814 views

apache cpu over 70% on localhost

i'm running a number of WP sites on my localhost WAMP on w8. I started to work on a new site, using Sass and Zurb Foundation using this template: http://jointswp.com/. the problem: During my work, ...
Amit Rahav's user avatar
2 votes
1 answer
2k views

Using/compiling Foundation SASS on live WordPress server

so far I've used extensively LESS and BootStrap for many of my sites. However, I decided to start using Zurb Foundation as it seem more powerful, especially with the latest release (5). With LESS, ...
unfulvio's user avatar
  • 1,814