Forums

Styling Body Tag in Boldy (3 posts)

  1. samwordpress
    Member
    Posted 1 year ago #

    Trying to figure out how to add code to header to this body class php to style a new template page called widepage.php tryed all kinds of stuff none is working Thanks for any help

    <body <?php if(is_home()){
    				echo 'id="home"';
    			}elseif(is_category(get_option('boldy_portfolio')) || post_is_in_descendant_category( get_option('boldy_portfolio')) && !is_single()){
    				echo 'id="portfolio"';
  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. samwordpress
    Member
    Posted 1 year ago #

    Thanks been all through that but Can't figure out how to add code <body <?php body_class($class); ?>> w/o breaking things or just having no effect that i can determine. Used a plugin to try to add the code it did seem to work either. Just want to style one page to remove a backgound element seems crazy hard. Thnx

Topic Closed

This topic has been closed to new replies.

About this Topic