Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1106803
    kevinodonnell91
    Participant

    My website is http://www.enterprisingschools.org

    I am currently using a text widget to display a disclaimer in the footer area of our website (see attached photo).

    However, I would like to make the text smaller and give the area a solid background colour. Would you be able to advise me as to how I would achieve this?

    Thanks,

    Kevin

    #1106847
    Christian
    Moderator

    Hey Kevin,

    Please add the code below in your Appearance > Customize > Custom > CSS

    #text-3 {
        font-size: 70%;
        background-color: white;
        padding: 20px
    }

    Thanks.

    #1106875
    kevinodonnell91
    Participant

    I’m afraid this didn’t work, nothing changed.

    #1106999
    Paul R
    Moderator

    Hi Kevin,

    There is a syntax weeoe in your css code.

    Please remove the code in your custom > css that reads.

    
    function cmk_custom_order( $wp_query ) {
         /* Get the post type from the query*/
        $post_type = $wp_query->query['post_type'];
        /*If Post type is Portfolio*/
        if ( $post_type == 'x-portfolio') {
        /* Set Order to Random*/
    	$wp_query->set('orderby', 'rand');
        /* un-comment if not using random order */
        //$wp_query->set('order', 'DESC');
        }
    }
    /* Change Order settings before displaying the Postype*/
    add_filter('pre_get_posts', 'cmk_custom_order');
    
    

    It should go in your child theme’s functions.php file.

    Thanks

    #1108644
    kevinodonnell91
    Participant

    Perfect, thank you so much for you help?

    #1108776
    Joao
    Moderator

    You are welcome.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1106803 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>