• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Calling Another Stylesheet for Plugin?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Calling Another Stylesheet for Plugin?

This topic is: not resolved

Tagged: Agentpress, Agentpress Pro, css, wp-listings

  • This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 4, 2014 at 9:35 am #130418
    Tom
    Member

    Hi all,

    I would like to use the WP Listings Plugin by AgentRevolution, instead of The AgentPress Plugin. Obviously, when I activate WP Listings different styling is added by this plugin to the two widgets (WP Listings - Search & WP Listings - Featured Listings).

    Would it be best to add another Stylesheet, so I can make changes to the styling for these widgets and call in this stylesheet?

    Or maybe someone can recommend another method?

    Many Thanks,
    Tom

    November 4, 2014 at 9:52 am #130422
    Brad Dalton
    Participant

    You can add the WP Listings plugins style sheet to your child theme and modify the styles that way.

    Depends on how much modification you want to make to the plugins default styles.

    You need to dequeue the plugins stylesheet using the handle included when it was enqueued and then enqueue the new one in your child theme


    Tutorials for StudioPress Themes & WooCommerce.

    November 4, 2014 at 9:57 am #130426
    Tom
    Member

    Thanks Brad,

    The WP Listings - Search Widget, I would like to have it the same as The AgentPress Search Widget. The WP Listings - Featured Listings Widget I happy with the defaults (well a few minor Colour and Text changes could be made).

    November 4, 2014 at 10:32 am #130434
    Brad Dalton
    Participant

    You would need to do this manually, step by step i think as the classes maybe different.


    Tutorials for StudioPress Themes & WooCommerce.

    November 5, 2014 at 9:09 am #130598
    Tom
    Member

    So for the WP-Listings plugin, there are 3 CSS files. If I copy these and apply the changes, your saying dequeue the CSS styles from the plugin and then enqueue the new CSS files within the functions.php in the child theme?

    I'm assuming this will then load the custom styles over the plugin styles?

    Would you be able to provide an example for the .php required for this?

    Many Thanks,
    Tom

    November 5, 2014 at 10:40 am #130605
    Brad Dalton
    Participant

    Yes but dequeue the plugins style sheet from your child theme not the plugin

    http://wpsites.net/web-design/how-to-deregister-dequeue-style-sheets/


    Tutorials for StudioPress Themes & WooCommerce.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble