Tagged: x
-
AuthorPosts
-
July 28, 2016 at 4:32 am #1106803
kevinodonnell91ParticipantMy 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
July 28, 2016 at 4:57 am #1106847
ChristianModeratorHey Kevin,
Please add the code below in your Appearance > Customize > Custom > CSS
#text-3 { font-size: 70%; background-color: white; padding: 20px }Thanks.
July 28, 2016 at 5:16 am #1106875
kevinodonnell91ParticipantI’m afraid this didn’t work, nothing changed.
July 28, 2016 at 7:42 am #1106999
Paul RModeratorHi 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
July 29, 2016 at 5:41 am #1108644
kevinodonnell91ParticipantPerfect, thank you so much for you help?
July 29, 2016 at 8:20 am #1108776
JoaoModeratorYou are welcome.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1106803 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
