You can just register another stylesheet instead of style.css
:
add_action( 'wp_enqueue_scripts', 'enqueue_theme_css' );
function enqueue_theme_css()
{
wp_enqueue_style(
'default',
get_template_directory_uri() . '/css/default.css'
);
}
This is, in my opinion, better than using style.css
.
Related Posts:
- How to define and link full path to css located at a random folder on header.php
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- CSS not updating in browser when I change it
- Solutions for generating dynamic javascript / CSS
- Do I actually need to link my theme’s style.css in the theme files
- CSS classes for theme
- Splitting WordPress theme CSS into multiple files, good or bad?
- Suggestions for creative use of post format feature, or themes that use them well
- Retrieve the template directory URI via global or get_template_directory_uri() every time?
- Add class to before_widget for all widgets with a dropdown and a counter
- Why max-width:97.5% on content images?
- Add a preview to a WordPress Control Panel
- use add_action(‘wp_head’) in a widget for generating dynamic CSS styles
- why does twenty eleven theme mix up the css measurement units?
- Setting up partial Right-to-Left admin interface
- Adding inline styles from a widget
- Can’t edit style.css in subdirectory of my theme?
- Adding dashicon fonts to the admin of pre 3.8 installs
- CSS in child theme not overriding the parent theme [closed]
- How to add (css) classes to only one wp_nav_menu()?
- Adding dashicon fonts to the admin of pre 3.8 installs
- How to keep theme layout the same when admin gray bar is present?
- Enqueued Stylesheets Effecting Admin Styles
- There’s an image named g.gif somewhere in my WordPress site
- wp_head() not inserting the default stylesheet style.css
- How to highlight the current page in the nav menu?
- Writing Clean WooCommerce Styles
- First completely customized theme, where should I start?
- Can wordpress run in root of existing php site with no theme on index.php but all other WP posts/pages?
- Whats the safest way to output custom JavaScript and Css code entered by the admin in the Theme Settings?
- Add a theme via symlink
- Alterntives to BEM syntax that comply with WordPress coding standards? [closed]
- WordPress 5.8 update problem custom theme styles are overridden by core styles common.min.css
- WordPress default theme css units
- CSS won’t style output of wp_nav_menu() correctly
- Where is definied the theme location for the main menu in a WordPress template?
- Is it necessary to prefix every css class in a theme framework?
- current-menu-item class not working
- enqueue_style is not working
- Weekly background code not working
- How do the default themes reference style.css?
- Multiple Page Templates & CSS
- Is it possible to edit the styling of the admin panel from within a custom theme?
- What are the Entry classes for?
- How to edit my theme for full width?
- How to add material design css in wordpress and woocommerce
- How to add styles set by user in the customizer
- Font Awesome 5 Free – far working but fas is not? [closed]
- How remove render blocking css from wordpress when you build a theme?
- Following Web Performance Optimization techniques to output static and dynamic css
- How to get javascript slider to work! [closed]
- Displaying icon image for WordPress post formats, is there a cleaner way to do this?
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Internal Stylesheet in WordPress Theme development
- How to i style the elements from the TinyMCE
- How to rotate every letter in a title
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- Broken theme, template is missing
- Having issue with WordPress wp_enqueue_style
- SVG in list-style-image breaks when adding fill
- theme-independent CSS/JS files
- How to style bootstrap container in wordpress theme?
- How to override template files in parent theme?
- LESS not working in WordPress [closed]
- Place title (in correct place) above image with opaque background [closed]
- CSS preprocessor file messed up after compiled
- Customize Option Framework
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Some doubts about WordPress handle the horizontal main menu visualization
- Can’t change theme name
- my single.php is mixup on some post for no reason
- How to use the _S framework
- index.php file in wp-content/themes/ folder
- How to format the first line of a post differently?
- get main URL from subdirectory with php
- style variations hurt the editing performance
- How to create a robust and logic class naming system in WordPress theme developing?
- Why nav_menu_css_class doesn’t work with apply_filters?
- 3 Level Menu Navigation (3rd Level not displaying)
- Default customizer colors aren’t displayed outside of the preview
- How to generate a rtl.css file for themes?
- overlay post title over post’s featured image
- Change site title color on individual pages
- How to fix an issue with customizer live preview?
- Custom CSS no getting applied
- editor style css and page template with and without sidebar
- Enqueue Stylesheets After Theme’s “rtl.css”
- WordPress 3.5 + Foundation 5 not working on IE9
- Why the slideshow is not shown in my theme?
- Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix
- adding navigation to genesis themes
- Custom link color or stylesheets
- Header is not showing full width
- How to resize video lightbox popup in wordpress? [closed]
- How can I get rid of the distance when I’m using list-style-type: none? [closed]
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- How to highlight current menu bar base on the URL?
- What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]
- Image and font support missing in editor when deploying theme remotely