Well… You’ve already used wp_enqueue_style. Use it again. That is the canonical mechanism for loading stylesheets either by itself or in combination with wp_register_style
wp_enqueue_style('blackberry',get_stylesheet_directory_uri().'/path/to/blackberry.css');
I feel compelled to note that user agent sniffing is not especially reliable. Is it not possible to do this with media queries?
Reference
http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri
Related Posts:
- How to target with css, admin elements according to user role level?
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- Need help on WordPress and php
- Multiple pages on one with different HTML
- WordPress Customizer not setting default value upon initial install?
- wp_enqueue_style with style.php and WordPress functions
- Minify HTML, CSS, JS with PHPWee?
- WordPress override bloginfo variable
- Shortcode content output but not in correct place
- Displaying theme options in css
- Show post in slider
- How can I hide Home in my menu in a specific page?
- Slider loading issue
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- how to remove metadata from the posts of my blog?
- How to add condition in wordpress loop? [closed]
- Css loads very slow [closed]
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Whats the proper way to use a php stylesheet in a wordpress theme? [duplicate]
- custom css for admin only
- responsive.css in the WordPress should be prioritized
- WordPress style.css not updating, only after theme reload
- Adding logo to WordPress header
- Thumbnails appear to be zoomed
- height should be set to auto to avoid pixelation in the post thumbnail function
- Odd / Even posts add class minus first post
- Add Codepen animation as Preloader to WordPress
- Reduce size of responsive title
- WordPress archive page showing 404 Error [duplicate]
- Clickable image link sends people to wrong URL
- Styling the second sidebar
- Creating a mobile site by adding a new class to the body tag from functions.php
- Removing WordPress Footer -without access to PHP code?
- CSS change in woo commerce Place Order Text [closed]
- Post repeated when opening in overlay, how do I solve this? [closed]
- Split site title and apply different classes
- Need help removing […] after excerpt
- jQuery accordion menu
- Twentyfifteen style author comment
- Dynamic CSS through PHP issue
- Assign Custom classes to every Excerpt
- How to make changes to style.php [closed]
- Adding a navigation page state to individual blog and portfolio pages
- Inline CSS header style priority function.php Child (no enqueing I think)
- How to put search bar & logo in the “primary navigation” storefront theme?
- Create Columns with Custom Walker and CSS Classes
- Background image no longer fits to screen now that project is in php files
- How to add a CSS class to this php code [closed]
- Why would the child theme load in the Customize preview, but not on the site itself?
- echo cutom css code to WordPress page template file ? is this safe?
- Use CSS tag inside PHP code
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- Warning: Use of undefined constant all – assumed ‘all’ (this will throw an Error in a future version of PHP) in C:\Users\…….. on line 6
- Trying to generate a CSS file in wordpress uploads folder
- WP Website is shown in HTML
- I have a lot of JavaScript erorrs after SSL someone can help me?
- I got big white screen when i attach main style sheet of Html in functions.php
- how to add functions to my function.php using a child theme?
- Replace header with large image on home page only, using Genesis child theme
- Add a default style if no Featured image is selected
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- Styling a specific post after hovering over it
- Using Sprit-sheet on WordPress categories
- Add class for the_post_thumbnail_caption()
- How to include different html tags in the header for different pages?
- CSS loading as empty file in Custom Theme
- user update profile for custom code
- How limit the width of a fixed menu-bar on scroll?
- Font-Family does not looks like how it should be [closed]
- Where to find the html for WordPress site? [closed]
- How to add style in functions.php depending on conditions?
- How to remove image on single product and get product to span page?
- widget: input the px value from user and use it as inline style in widget function
- Modify arguments for parent theme’s `wp_register_style` via child theme
- Hide button based on PHP result
- How to have Function of a plugin using global vars into a shortcode?
- Show contact 7 form in popup
- Child theme not working properly
- How Can I Center the Logo in the Navigation Menu? [closed]
- Cant get theme to change footer color through theme customizer
- Changing 2011 theme header image based on user dropdown
- How to change the menu color
- How to change a specific character in a theme option value – replace a space with a plus sign
- How do I get Roboto Google Font to display normal font-style? [closed]
- Using PHP for background-image property [closed]
- How to customize posts in WordPress by using HTML and CSS?
- How to create and add js and css file when server is not on my PC?
- which php or css file has generated an inline style in WordPress that overwrites my css
- Child-theme suddenly stopped working [closed]
- Header location [closed]
- Blog listing not showing dates for every post and arrow missing off image
- inner-wrap div pushing custom table far down on page
- Styling best practices for single pages/templates
- Editing stylehseet url in head section of WordPress
- How can we upload custom page files?
- HELP PLEASE PHP slider css
- Get generated block styles programmatically
- Is it possible to remove the “Shop” title from the WooCommerce catalogue? [closed]
- How to add global CSS to all webpages without installing any plugin?