WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Styling inside iframe (1 post)

  1. Jon Brown
    Member
    Posted 10 months ago #

    The direction here:
    http://help.disqus.com/customer/portal/articles/545277

    Don't seem to work at all.

    #disqus_thread { width: 300px; }

    works fine, but targeting anything inside the iframe fails.

    /* Disqus */
    #disqus_thread #global-nav li#post-count h4 {
    	color: #999;
    }
    
    #disqus_thread #global-nav {
        border-bottom: 1px #999 solid;
        padding-bottom: 10px;
    }

    doesn't work, nor does

    /* Disqus */
    #global-nav li#post-count h4 {
    	color: #999;
    }
    
    #global-nav {
        border-bottom: 1px #999 solid;
        padding-bottom: 10px;
    }

    What a bit odd, is that they do work in the web inspector, inspector stylesheet, they just don't work from my stylesheet (or from the web inspector editing style.css)

    Really seems like this should be entered in the disqus admin so they're inside the iframe but I can't find anywhere to do that.

    Is this hopeless? Is there any way to style elements inside the iframe? I'm assuming I can't inject it via JS since it's an another domain.

    http://wordpress.org/plugins/disqus-comment-system/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.