You’re just using the wrong CSS selector. Your p tag is inside a div that has textwidget class. So to do it you need to target that class like this :
.textwidget p{
font-family: sans-serif /* replace 'sans-serif' with your font */
}
Related Posts:
- How to enable edit button in the theme’s customize UI?
- Disable Specific Widgets on Selected Pages of a WordPress Website?
- Custom Widget Creating PHP Exception When Placed In Its Own PHP File
- Themes VS Plugins [duplicate]
- Conditional Display of Links in Widgets
- Created Widget Not Showing up on Admin Panel
- Setting up widgets in wordpress with a unique ID for the after_title argument
- I need some direction on how to have a sidebar based on meta rather than page
- Do widget options need to be escaped widget()?
- In the archive widget, how do I sort in between two years?
- Setup page on first login on multisite
- Best practice for including plugin output in a template without using shortcode?
- Custom widget doesn’t save values from dropdown box
- Widget where it can make changes to the container
- Widget display in theme
- Customize a widget position
- What can I do to customize a widget provided with this plugin? from where have I to start?
- WordPress child theme widget customization – Eduma
- Rotate Widgets or Content Blocks every x sec/min
- Multi language site [closed]
- How to style the RSS wordpress?
- How can I disable widget from being visible on some pages?
- How to display more than one instance for a widget?
- How would I go about creating a user ranked post popularity page?
- Custom random quote widget breaks when used in multiple sidebars
- Hooking in to replace the Sidebar/Widget areas
- Anonymous Postings
- Is there any W3C compatible Share & Follow plugin?
- Does any one have Idea to get these functionalities with the plugin wp-multi-network
- Disable woocommerce cookies and delete cart data automatically
- Ajax contact form widget plugin data not insert in database
- How to add media field to WP_Widget form function?
- className not populating in custom block
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Run plugins only on certain pages
- changes to widget settings not showing up in individual pages pages until they’re updated [closed]
- Overide plugin files from child theme (/inc/ ) folder
- wp_generate_attachment_metadata is creating an empty array
- custom payment gateway in woocommerce failed to connect to remote api server
- Display encrypted content on my website
- How to hide CSS by default and show on button press
- How to remove traces from widget during uninstallation
- Post category with counts been display like a menu
- Post custom Data value in The Events Calendar plugin [closed]
- Send reply with pre-prepared answers
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Save custom attributes of product in woocommerce
- Calling an attribute from a plugin shortcode
- Best place for short bio,image and button [closed]
- Use of Templates in a Plugin
- Which widget to use for display category post with view more? [closed]
- Why can’t I access my Intranet LDAPS with NADI?
- WordPress Widget Not Saving Data
- Calendar Plugins – Featured Widget [closed]
- External Domain on WordPress Multisite
- Widgets Scripts don’t load – but load when I reload the page
- WordPress plugin subscribe2 not looking the same as before migration
- Customization API for plugin development
- Fromcraft Plugin On click submit button [closed]
- creating a custom shop page display on archive woocommerce
- Wysiwyg editor errors
- How to make WordPress customizable for clients
- How can I inject options into an select tag inside the widget form?
- polylang + category/tag custom language link
- Anspress Customization: How to show logged in user votes on a single answer?
- Custom wordpress Theme and Plugin repository
- Automatic Updates Individual Plugins Not Working
- How do I make a child theme I made POST through a 3rd party plugin?
- How create Group Blogs based on user created Groups
- Add content to footer – above wp_footer
- How to add wp visual editor in a custom widget?
- How to get my plug-in, wrote in php, to refresh on its own every 5 minutes?
- How to redirect users to their profile after they successfully edit their profile
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- WordPress Widget – Saving multidimensional arrays into $instance
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Custom plugin appears outside of the sidebar container
- Conditional tag in Widget Logic for checking if top level page or if subpage
- Getting Theme element into plugins page editor in wp admin
- WordPress as web application base
- Customize The Events Calendar to Include an Option to Expand for More Events Listings
- URL rewrite of independent plugin?
- Plugin for users to create their own ads like Google Adsence
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- Char limit on custom blog-post form? [closed]
- Trying to create a table/list of my EventBrite course listings [closed]
- How do I apply style to each category of a list?
- How do I use wp_editor() in widget form?
- How to reorder and display a feed to be chronological?
- Hide certain widgets from specific user roles in admin
- Add category selection to custom post type (plugin)
- Redirect to another page using contact form 7? [closed]
- changing posts layout in ultimate member profile plugin
- How to add Wrapper Div/container element around WordPress Widget Content
- Disabling plugin but wpenqueue is not available
- Related posts widget or plugin needed
- How do I find out what is in control over a certain part of a website?
- “No Add Button” for me to customize my WordPress with themes and pluggins
- Translation plugin to translate another plugins