It solely depends on you. You can go with both the options. As you are developing the custom wordpress theme from scratch you can add the code into themes default style.css.
If you are using any another css file the better way to do it is to insert it directly into the header file in place of calling it via hook in functions.php.
Related Posts:
- Adding border to SVG image
- React.js inline style best practices [closed]
- Gradient borders
- Making an iframe responsive
- Applying Comic Sans Ms font style
- how to offset a CSS border up and left
- Responsive Bootstrap Jumbotron Background Image
- SVG Fill Color Not Working
- How to change an input button image using CSS
- How to apply multiple transforms in CSS?
- Is it possible to center an inline-block element and if so, how?
- Need to make a clickable button
- CSS: background image on background color
- Set line height in Html
to make the html looks like a office word when
has different font sizes
- How to select label for=”XYZ” in CSS?
- margin: auto is not centering
- wp_head() gives me some weird CSS
- How to Handle CSS Organization
- Style new block-editor alignfull class without scrollbars or overflow
- Changing title to lowercase [closed]
- How can I insert HTML attributes with an existing TinyMCE button?
- Hiding certain panels in dashboard
- how to make stylesheet appear in theme editor?
- How to change the order of the comment_form fields with css?
- Best way to install Bulma (CSS Framework) with WordPress and Genesis
- Remove sticky behavior from top navigation on twenty fourteen theme?
- Include CSS with PHP without including wp-load?
- Loading different stylesheet on WordPress pages?
- Different css rules for TinyMCE and Gutenberg while using add_editor_style()
- Redoing home page but changes not taking effect
- How to create a custom CSS class for a specific page template?
- Gallery CSS Problem
- Older isotope portfolio rows shifting downward by 1 pixel on hover
- Shrink Header Image on Scroll
- Correct way to output styles gathered from theme or plugin settings?
- Remove extra white space bellow and above product short description in storefront woocommerce
- Inline Style attribute getting stripped off
- What does generate .less file? [closed]
- Can’t Display Table Headers in Responsive table layout
- Edit css for search results page
- Load jQuery only on home page
- how to hide submenus for the not active pages
- Why is the CSS horizontal alignment for divs inside div container not displayed in my WP Theme?
- Keeping CSS model open after form submission
- Sidebar button click redirect when user is not logged in instead displays it
- Changing blog style [closed]
- Add class to navigation link of page
- node.js and webpack throws error when trying to setup node to watch theme folder for saved changes
- Keep comments but turn off commenting
- How to remove Author and Category from a single portfolio page? [closed]
- why is my paypal button not clicable [closed]
- How can I selectively insert a header for my shop page in woocommerce? [closed]
- Change the search icon in twenty fourteen
- styling isnot working in wordpress theme
- Using True Type Fonts (ttf) [closed]
- Horizontal drop down category with hover effect working
- Child Theme style.css changes aren’t showing. Parent “style-less.css” over rides it, and won’t update
- Broken css on mobile phones only on https
- WordPress CSS completely broken on IIS
- Trying to hide HENTRY (Author Meta Data) from a Post ID
- Probleme d’emplacement
- Getting and setting CSS variables with JQuery in WordPress backend fails
- Theme: Twentynineteen // How to exclude cookie-control triangle and star svg from being overwridden by theme css “svg { fill: currentColor; }”
- CSS does not Update
- Need help removing block of white space between footer widgets and footer [closed]
- How to make a sidebar form show at the top of page on mobile?
- Why child theme stylesheet takes long time to update?
- Navigation menu disappears when I hover the mouse [closed]
- Logo Keeps Changing to the Default for Transparent Settings
- Custom Plugin CSS: Can’t update them!
- How to display a background image in a page body area? [closed]
- Menu reduce space between words
- add css to only body text
- Improving the readibility of bright text on a bright background [closed]
- Vertical aligning CSS pushes column to left [closed]
- Specific text not affected by CSS style [closed]
- Import HTML code that loads css and javascript into specific page
- checkbox function not working for dropdown menu
- How to change hover color on bulk-action-selector-top and bottom on wordpress admin?
- Exclude parts of default css import
- Replacing parent theme’s IE-specific CSS
- modify stylesheet of a particular page inside wp-admin
- Having Trouble Styling a Table in a WordPress Post
- Bootstrap 4 Optimization
- How to change wordpress registration form submit button value?
- Move main menu to top of screen
- Hide certain div/ class only at front page
- How to remove post view count
- WordPress toolset css struggle
- site-description css is overriden [closed]
- How can I use Advanced Custom Field Option page in CSS WordPress
- How do I make my block-editor styles match my front-end styles?
- Narrow paragraph block aligned to left of “wrapper”
- Transparent Overlay for Gravity Forms Ajax Spinner
- Remove the main title, but only from the main page
- aos properties ‘invalid’ and not recognised when included as a css class [closed]
- ACF Extended : Disable styles in front [closed]
- How to avoid problems caused by new block-library default CSS rules (wp 6.1.1)
- Grid problem on privew mode
- Disabling double vertical scrollbar and horizontal scrolling?