Custom Template to call Custom CSS

Viewing 3 posts - 1 through 3 (of 3 total)
  • #1841
    Notice: Trying to get property of non-object in /var/html/www/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 244 mattmaciag
    Participant

    Thank you for such a wonderful template. I have followed and read many of the customization solutions on this site. I have created a custom template called “nosidebar.php” in order to eliminate the sidebar. However, I want to expand the main content section to the full width. I have found the appropriate variable controlling specific width in the styles.css file. Is there any way that I can make a call to a set of variables in the styles (or mystyles).css file specifically from the nosidebar.php template file? Thanks for all your help.

    Matt Maciag
    Dexter Community Schools

    #1842
    Notice: Trying to get property of non-object in /var/html/www/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 244 Daniel Tara
    Keymaster
    Notice: A non well formed numeric value encountered in /var/html/www/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118 Notice: A non well formed numeric value encountered in /var/html/www/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

    Hi Matt,

    What you could do is give a class .nosidebar to that template, and add in the css something like:

    P.S. I have deleted your email address from the post, you may not want to display that publicly.

    #1843
    Notice: Trying to get property of non-object in /var/html/www/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 244 mattmaciag
    Participant

    Thanks!! For both removing my email and answering my question so amazingly quickly. I’m able to look at people’s code and muddle my way through a bit and your reply helped me tremendously. Thank you! (Helped me understand php and css a little bit more as well, no matter how basic!)

Viewing 3 posts - 1 through 3 (of 3 total)

Tagged: 

You must be logged in to reply to this topic.