Tagged: x
-
AuthorPosts
-
September 27, 2016 at 7:53 pm #1193222
jvasquez3ParticipantHello,
I’m using the integrity stack and am trying to set up the blog page & the post page. I want it to look at least similar in format to: http://demo.theme.co/integrity-1/5-reasons-you-need-the-x-theme/
Here’s my blog page, and my post page…please Help
http://www.strengthpraise.com/blog/
http://www.strengthpraise.com/hello-world/September 28, 2016 at 1:58 am #1193489
LelyModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? I can see you have set Sidebar on the Customizer. But then the size seems not right. To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 28, 2016 at 9:18 am #1193979
jvasquez3ParticipantThis reply has been marked as private.September 28, 2016 at 11:15 am #1194158
RupokMemberHi there,
Thanks for writing back. You have set 2500px max-width and 100% width for the container and set 97% for the content while only 3% for the sidebar. So it looks weird.
All you need to set correct widths for them from Customize > Layout and Design.
Hope this helps.
September 28, 2016 at 4:13 pm #1194641
jvasquez3ParticipantOk, I made the changes, but the background of the homepage/pages is the Same as the background of the blog….how do I make the background different for the BLOG and the Blog Posts?? Thanks for your help.
September 28, 2016 at 8:43 pm #1194977
RadModeratorHi there,
Please add this code to your child theme’s functions.php
function x_customizer_output_js_custom() { $x_custom_scripts = x_get_option( 'x_custom_scripts' ); $entry_id = is_home() ? get_option( 'page_for_posts' ) : get_queried_object_id(); $x_entry_bg_image_full = get_post_meta( $entry_id, '_x_entry_bg_image_full', true ); $x_entry_bg_image_full_fade = get_post_meta( $entry_id, '_x_entry_bg_image_full_fade', true ); $x_entry_bg_image_full_duration = get_post_meta( $entry_id, '_x_entry_bg_image_full_duration', true ); $x_design_bg_image_full = x_get_option( 'x_design_bg_image_full' ); $x_design_bg_image_full_fade = x_get_option( 'x_design_bg_image_full_fade' ); ?> <?php if ( $x_custom_scripts ) : ?> <script id="x-customizer-js"> <?php echo $x_custom_scripts; ?> </script> <?php endif; ?> <?php if ( $x_entry_bg_image_full ) : ?> <?php $page_bg_images_output = ''; $page_bg_images = explode( ',', $x_entry_bg_image_full ); foreach ( $page_bg_images as $page_bg_image ) { $page_bg_images_output .= '"' . $page_bg_image . '", '; } $page_bg_images_output = trim( $page_bg_images_output, ', ' ); ?> <script>jQuery.backstretch([<?php echo $page_bg_images_output; ?>], {duration: <?php echo $x_entry_bg_image_full_duration; ?>, fade: <?php echo $x_entry_bg_image_full_fade; ?>});</script> <?php elseif ( $x_design_bg_image_full ) : ?> <script>jQuery.backstretch(['<?php echo x_make_protocol_relative( $x_design_bg_image_full ); ?>'], {fade: <?php echo $x_design_bg_image_full_fade; ?>});</script> <?php endif; } add_action('wp_head', 'reset_backtretch_background', 9999); function reset_backtretch_background () { remove_action( 'wp_footer', 'x_customizer_output_js', 9999, 0 ); add_action( 'wp_footer', 'x_customizer_output_js_custom', 9999, 0 ); }Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193222 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
