-
Author
Tagged: Full Width, boxed layout, sidebar
-
February 23, 2015 at 00:06 #47193Rincon805Participant
Hi. I have a boxed layout on my site and I was wondering if it was possible to have a full width header override the boxed layout. If you see the screenshot, I’m tring to make the slider full-width and then have the boxed layout and sidebar begin underneath that.
Is that possible/relatively easy to accomplish?Thanks,
Attachments:
You must be logged in to view attached files.February 25, 2015 at 03:28 #47527LauraModeratorHello, can you share your website?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 27, 2015 at 00:12 #47892AndreiModeratorSure you can do that, please note that in your edit page screen, somewhere below the content box, you have a meta box called “Header Content” which will do exactly what you want and in which you can put any shortcodes and use any sliders which provides you a shortcode. For example, to use Revolution Slider you just have to put in that Header Content box the following shortcode: “[rev_slider testslider]”
Hope this helped you out.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 1, 2015 at 06:02 #48222Rincon805ParticipantSweet! Does anybody have a link that will show me what shortcodes are available? Specifically a full width shortcode?
Thanks
March 4, 2015 at 23:25 #48791AndreiModeratorWhile you’re in the edit page screen, change to the “Classic Editor”, and you’ll have a “KLEO” dropdown in the content editor toolbar. From there you can find all our shortcodes, and you can use them wherever you want/need.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 5, 2015 at 02:36 #48805Rincon805ParticipantHeya.
I appreciate the feedback, but there’s no full width shortcode option – that IS available, though, right?
Thanks,
March 5, 2015 at 23:45 #48881AndreiModeratorYou don’t need any shortcode, the Header Content box is already full width, it will be above your sidebar as you asked. You just have to paste the shortcode of a slider there, as how i exemplified in my first reply.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 5, 2015 at 23:50 #48882Rincon805ParticipantGotcha. Thanks.
I don’t want a slider in there, however. I’m looking to auto-play a movie. How do I go about setting a hosted movie to autoplay?
Thanks,
-HMarch 7, 2015 at 04:11 #49057Rincon805ParticipantOk, so I don’t think I’m explaining myself adequately. Please see attached screensnaps. I have a boxed layout. I’m wanting to have my homepage be full width, however. Right now, when I put any shortcode into the Header Box, the limits are still defined by the “box” layout. Is it at all possible to have the rest of the site be “boxed” but have the homepage be full-width? If so, how do I accomplish this?
Thanks,
-HAttachments:
You must be logged in to view attached files.March 7, 2015 at 08:34 #49081dennis09ParticipantWow I was just about to make this topic lol. I need a full width homepage and boxed everything else. The revolution slider doesn’t make as big of an impact when it’s sandwiched like that.
March 9, 2015 at 00:05 #49290AndreiModeratorOk, so we don’t have such an option out of the box, but here is a small hack which will help you achive what you need.
Put the following code in your functions.php file, and please update the shortcode from it.Hope this helped you both.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 26, 2015 at 12:27 #51613jneventParticipantHi! I think i have the same problem, i want the header (the menu section) and the footer to be full width in boxed mode. i tried to put the hack code in the functions.php file but it just showed an error message.
Can you help me?
Thanks.
Attachments:
You must be logged in to view attached files.March 26, 2015 at 21:20 #51724AndreiModeratorWith the following piece of code you can make full width header and footer while keeping boxed layout for the rest of the page, please note that you’ll have to enable your page layout as “full width”.
COPY CODEfunction show_full_width_header_on_boxed_layout(){ echo '</div>'; echo '<div class="kleo-page page-boxed">'; } add_action('kleo_header', 'show_full_width_header_on_boxed_layout', 9999); function show_full_width_footer_on_boxed_layout($sidebar){ if($sidebar == 'footer'){ echo '</div>'; echo '<div class="kleo-page">'; } } add_action('get_sidebar', 'show_full_width_footer_on_boxed_layout', 9999);
Let me know if worked as it should.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 27, 2015 at 11:15 #51796jneventParticipantThank you! Where should i paste it? if it is in the functions.php file, is it in the kleo child function file or just kleo? And were in the file, which line?
Thanks!
March 27, 2015 at 12:00 #51799AndreiModeratorIf you activated the kleo child theme then you should add the code to that one, inside the functions.php file.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 2, 2015 at 12:58 #52825jneventParticipantI just tried the code and everything, but it still doesn’t work, probably i just missed something but i can’t figure out what..
This is what my kleo-child functions.php file looks like:
COPY CODE<?php /** * @package WordPress * @subpackage Kleo * @author SeventhQueen <themesupport@seventhqueen.com> * @since Kleo 1.0 */ /** * Kleo Child Theme Functions * Add custom code below */ function show_full_width_header_on_boxed_layout(){ echo ''; echo ''; } add_action('kleo_header', 'show_full_width_header_on_boxed_layout', 9999); function show_full_width_footer_on_boxed_layout($sidebar){ if($sidebar == 'footer'){ echo ''; echo ''; } } add_action('get_sidebar', 'show_full_width_footer_on_boxed_layout', 9999);
April 5, 2015 at 17:25 #53325AndreiModeratorI think the code got trimmed in here, here is what I’ve been using and it works: http://pastebin.com/qNFxP7Gz
Please note you have to set up your layout as full-width.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 6, 2015 at 16:39 #53396AndreiModeratorYou’re doing something wrong probably, please share admin credentials and I’ll give a look.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 6, 2015 at 16:39 #53397AndreiModeratorYou’re doing something wrong probably, please share admin credentials and I’ll give a look.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 20, 2015 at 02:39 #55162AndreiModeratorYou’ve shared admin credentials but didn’t shared a url of your site.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 26, 2015 at 18:58 #70095Rincon805ParticipantYeah, this code snippet didn’t work for me, either. It made the footer almost full width, but the row above it grew a little bit and the header stayed the same.
Thanks for the assist, though.
January 22, 2016 at 10:29 #99919WhoweezParticipantGood day,
I’d appreciate it if someone could assist with this. I need the header to be full width and not boxed. please refer to attached pic.
Thanks 🙂
WhoweezAttachments:
You must be logged in to view attached files.January 22, 2016 at 11:20 #99923WhoweezParticipantOeps, and while we at it, if someone could assist in making the footer and socket full width as well, but separately from the header…
Thanks 🙂
WhoweezJanuary 22, 2016 at 14:26 #99944AndreiModeratorHi,
We’re already working on the full browser width menu style and should be released in the next theme update somewhere next week.
A full width footer is not possible when using the boxed layout style, at least not for now.
Please let me know if I can help you with anything else.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 22, 2016 at 14:30 #99945WhoweezParticipantWow! Thanks Andrei!
Tell me, would the footer at least be full width with the “full width” layout?
Thanks
WhoweezJanuary 22, 2016 at 14:42 #99946AndreiModeratorThe background of it yes, it will be full width, but the data inside it will be wrapped into a inner container, which with a few small tweaks can be extended to full browser width if you like.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.