Tagged: x
-
AuthorPosts
-
November 23, 2016 at 11:29 am #1268445
ricardoalmeida2511ParticipantHello,
I need to create a blog with content on the left and sidebar on the right. I configured the template as you said above in answer #73479 (https://community.theme.co/forums/topic/setup-blog-correctly/#post-73479) , here is the image: http://prntscr.com/davprk
But when I select the static Blog page in the read settings, the template configuration adds up to the page attributes in the Blog page edit: http://prntscr.com/daw59b
I created a sidebar called “Blog Sidebar” and put widgets on it, but no sidebar appears on my blog: http://www.pescadosvalmar.com.br/blog
I want sidebar only on Blog, not other pages.
Please help me, I have several clients with this theme and I need a solution for all of them.
Thank you
November 23, 2016 at 11:47 am #1268471
RahulModeratorHey There,
Thanks for writing in!
Would you mind providing us with login credentials so we can take a closer look? 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.
Thanks.
November 23, 2016 at 7:11 pm #1268907
ricardoalmeida2511ParticipantThis reply has been marked as private.November 23, 2016 at 7:31 pm #1268917
ricardoalmeida2511ParticipantPlease also check how to make page content and blog content down so the floating menu does not overlap.
Thank you.
November 23, 2016 at 10:30 pm #1269087
Rue NelModeratorHello There,
Thanks for updating in! To add a sidebar in your blog index, please insert this following code in your child theme’s functions.php file.
// Sidebars only in Blog index // ============================================================================= function blog_index_sidebar($contents) { if ( is_home() ) { $contents = 'content-sidebar'; } return $contents; } add_filter('x_option_x_layout_content', 'blog_index_sidebar'); // =============================================================================To get rid of the menu overlapping the blog title, please go to the customizer, Appearance > Customize > Header > Navbar and set the “Navbar Top Height (px)” to at least 60 pixels.
Hope this helps.
November 24, 2016 at 7:34 am #1269493
ricardoalmeida2511ParticipantThanks for the quick response,
On the sidebar had no effect even putting the code in the child theme funtions.php. Did I do something wrong?
On the overlap of the menu when increase the value in the indicated place happen 2 things:
1) navbar expands but overlaps title (http://prntscr.com/db87y3)
2) on the main page the video is shifted down, but we want it to be under the menu (http://prntscr.com/db8915)
* I extrapolated the value to 360px to be evidentThanks for listening
November 24, 2016 at 2:27 pm #1269844
RadModeratorHi there,
Would you mind providing your FTP login credentials as well? I’ll check it from there.
1. It’s because of this CSS, what’s the purpose of this?
header.masthead { margin: 10px; margin-bottom: -100px; }And your navbar height is still 30px, it should be around 90px.
2. It’s not shifted on my end. What device and browser you’re checking it on?
Thanks!
November 24, 2016 at 6:10 pm #1269954
ricardoalmeida2511ParticipantOkay, I deleted the CSS but I need the video from the home page to be under the menu, and for that I changed the Navbar Top Height to 0px, but now the menu is under the BLOG title, how to solve this?
I’m using Google Chrome.
I will pass FTP credentials via private message.
Thank you
November 24, 2016 at 6:35 pm #1269958
ricardoalmeida2511ParticipantThis reply has been marked as private.November 24, 2016 at 8:27 pm #1270125
LelyModeratorHi There,
Thank you for the FTP credentials. Your settings was correct both on admin and then the code was correctly added on the child theme. I just tested the same setup and it works on my test site. It adds right sidebar on the blog index page. I did also checked and you don’t have a caching plugin. Do you have a caching service on your hosting? This might be cache. Try to purge cache so we can see updated content.
I also notice the following error from your ERROR LOG
[24-Nov-2016 20:02:17 America/Chicago] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [24-Nov-2016 20:02:17 America/Chicago] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [24-Nov-2016 20:04:00 America/Chicago] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 [24-Nov-2016 20:04:00 America/Chicago] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20121212 These options need to match in Unknown on line 0Your site PHP version is not updated. Please update to at least PHP5.6. See this:https://wordpress.org/about/requirements/
Regarding the homepage, please set again Navbar top height to 90px. Then to move the video behind the navbar on homepage, please update this custom CSS:
.home .x-slider-container.below { border-bottom: none; }To this:
.home .x-slider-container.below { border-bottom: none; margin-top: -90px; }Hope this helps.
December 2, 2016 at 10:15 pm #1279525
ricardoalmeida2511ParticipantHello
I made the suggested changes.
PHP updated to 5.6.27: http://prntscr.com/deq025
CSS: http://prntscr.com/deq0j7I installed WP Total Cache and cleared the cache.
But now when I try to enter the following error appears: http://prntscr.com/deq1ch
And if I rename the functions.php file to another name to ignore the changes the site gets all unconfigured.
Could you please help me solve this?
Thank you
December 3, 2016 at 12:21 am #1279594
ChristopherModeratorHi there,
#1 To display sidebar on blog page, remove the code we previously provided here https://community.theme.co/forums/topic/blog-with-sidebar-not-working/#post-1269087. Select one of content layouts with sidebar under Customize -> Layout and design. Change blog’s layout to ‘Global’ under Customize -> Blog. For other pages use full width or blank templates to not display the sidebar.
#2 Update your CSS to :
.x-slider-container.below { margin-top: -90px; }Hope it helps.
December 7, 2016 at 1:14 pm #1284967
ricardoalmeida2511ParticipantHi there,
It’s working wonderfully well!
Themeco’s support is really the best!
Many thanks to everyone for their help.
December 7, 2016 at 5:09 pm #1285254
LelyModeratorYou’re welcome!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1268445 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
