This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

remove white boxes around content

  • Creator
    Topic
  • #18041
    johnmos
    Participant

    I know how to place Boxes around Boxes on the Builder pages.

    function my_element_classes( $classes ) {
    	$classes['element_columns'][] = 'boxed-layout';
    	return $classes;
    }
    add_filter( 'themeblvd_element_classes', 'my_element_classes' );

    Question the folks have is how to remove the white Boxes from around content.
    I would ask why, but i’m afraid that I would get an answer.

    http://www.incarnationchurchpgh.org

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #18043
    Jason Bobich
    Keymaster

    Hmm, maybe just loop back through the array and unset any array keys where that matches the value?

    function my_element_classes( $classes ) {
    	
    	if ( ! empty( $classes['element_content'] ) ) {
    		foreach $classes['element_content'] as $key => $value {
    			if ( $value == 'boxed-layout' ) {
    				unset( $classes['element_content'][$key] );
    			}
    		}
    	} 
    
    	return $classes;
    }
    add_filter( 'themeblvd_element_classes', 'my_element_classes' );
    #18048
    johnmos
    Participant

    I think that i’m just going not be concerned with this. The people chose Alyeska just for the white boxes around the content. Even to the point of wanting it done on the Builder home page. Now they don’t.

    The kicker is, they do not want to change Themes.

    Thank you much for your time

    #18110
    johnmos
    Participant

    Found a solution.

    Apologize Jason I really was not clear.

    This method removes the White box around the post/page content. Simply said, I just set the color to the be the same as the background.

    .boxed-layout .boxed-inner,
    .boxed-layout .element-inner,
    .post_grid, article, #comments .comment-body,
    #respond {
    background-color: #eeeeee;
    border-color: #eeeeee;
    color: #666;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.