• Resolved gnruble

    (@gnruble)


    I feel like this is kind of a noob question but I’m working on customizing the Disqus comment form, and rather than hosting the CSS on Disqus’ servers, I want to use my own stylesheet.

    To do that, I need to add the @import line to the Disqus editor – my question – what exactly would I use to import the default WordPress stylesheet?

    I know it’s in my public_html directory, but I have no idea how I’d go about linking to it with @import.

    Would it be myurl.com/public_html/wherever/the/stylesheet/is.css?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where is your stylesheet? Is it within your theme’s folder?

    Thread Starter gnruble

    (@gnruble)

    Yeah — its exact location is public_html/wp-content/themes/maggie/style.css

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you have a link to your website depicting the CSS hosting on Disqus’ server?

    Thread Starter gnruble

    (@gnruble)

    A link to the modified Disqus form?

    http://techpounce.com/2012/07/12/disqus/#disqus_thread

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m not sure what you’re attempting, are you trying to @import a stylesheet within your own theme directory, or from another server? If from another server and on the link provided, can you state which stylesheet you’re trying to grab?

    Thread Starter gnruble

    (@gnruble)

    Well, to use custom CSS with Disqus you either have to use the editor at your admin panel on Disqus.com, or @import your WordPress stylesheet via the editor at Disqus.com — you can’t modify the comment form using the WordPress editor without first importing it on the Disqus admin panel.

    The only reason I need to import it is because I can’t import any fonts from Google Web Fonts unless I use the WordPress stylesheet. It cancels out my custom CSS if I try to do it with Disqus’ editor.

    All I need to do is import my WordPress stylesheet to the Disqus editor – so yes; I’m trying to @import the stylesheet from within my theme directory.

    Thread Starter gnruble

    (@gnruble)

    Figured it out; it’s just yoursite.com/wp-content/uploads/theme-name/style.css

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘@import stylesheet’ is closed to new replies.