Skapade stöd för theme.css i temat

This commit is contained in:
crille committed 2026-04-07 10:49:03 +02:00
1 parent f12c169383
commit 158c92516f
3 files changed
+16 -6

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<?php
add_action('wp_enqueue_scripts', function() {
wp_enqueue_style(
'my-theme-custom',
get_theme_file_uri('theme.css'),
array(),
filemtime(get_theme_file_path('theme.css'))
);
});
+1 -6
View File
@@ -32,10 +32,5 @@ Tags:
*/ */
/* /*
CSS att lägga till i Simple Custom CSS CSS att lägga till i Simple Custom CSS
.taxonomy-category a {
background-color: #ff8f3f;
color: #0e0f12;
padding: 1px 7px;
border-radius: 7px;
}
*/ */
+6
View File
@@ -0,0 +1,6 @@
body .taxonomy-category a {
background-color: #ff8f3f;
color: #0e0f12;
padding: 1px 7px;
border-radius: 7px;
}