gnruble
Member
Posted 9 months ago #
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?
Where is your stylesheet? Is it within your theme's folder?
gnruble
Member
Posted 9 months ago #
Yeah -- its exact location is public_html/wp-content/themes/maggie/style.css
Do you have a link to your website depicting the CSS hosting on Disqus' server?
gnruble
Member
Posted 9 months ago #
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?
gnruble
Member
Posted 9 months ago #
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.
gnruble
Member
Posted 9 months ago #
Figured it out; it's just yoursite.com/wp-content/uploads/theme-name/style.css