Tagged: business layout
- This topic has 16 replies, 3 voices, and was last updated 10 years, 5 months ago by Theme Horse Support Team.
-
AuthorPosts
-
May 14, 2014 at 7:54 pm #10315IcedQuickParticipant
Hi there,
I love the widgets for the business layout of pages. Issue I am having is that one my home page I want some widgets, and on another page I want some of the other widgets (i.e. some business widgets here and some there). Currently, if I place both pages onto the business layout – they get the same widgets. Is there anyway to allow for certain widgets to be applied to certain pages only (or more than one page)?
Thanks,
Byron
May 15, 2014 at 2:46 am #10323Theme Horse Support TeamKeymasterHi
this is not possible from this theme. You need code customization for it. If you customize the code then all your customization code will be lost while updating to our new version. Then again you need to customize the code. You need to create a particular sidebar for that and call that particular sidebar to the particular page.
Thank youMay 21, 2014 at 5:17 am #10483IcedQuickParticipantHi there,
Thanks. So I have added a new template (an exact copy of the original template) and I have added a new widget class:
// Registering Business Page template 2 sidebar register_sidebar( array( 'name' => __( 'Business Page Section 2', 'interface' ), 'id' => 'interface_business_page_sidebar_2', 'description' => __( 'Shows widgets on Business Page Template. Suitable widget: Theme Horse: Featured Recent Work, Theme Horse: Testimonial, Theme Horse: Services, Theme Horse: PromoBox', 'interface' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h1 class="widget-title">', 'after_title' => '</h1>', ) );
I can add the services widget to this new widget class and choose the new template for my page. However, when I load the page for services – it still replicates the first template and it’s widgets. Should I be changing this somewhere else to hook the duplicate template to the new widget class?
Thanks,
Byron
May 21, 2014 at 9:30 am #10485Theme Horse Support TeamKeymasteryes exactly. You created the sidebar. No problem but you need to extract the content to your template. So you need to make 1 sidebar template and extract the content on the particular template where you want to display. e.g:- sidebar-right similarly to this sidebar template and hook the function.
Hope this may help you
Thank youMay 25, 2014 at 8:00 am #10575IcedQuickParticipantOh yes, one other thing to mention is that this only happens in widescreen on some pages – if I resize the window and make it about 60% of widescreen, the red bar appears to disappear
May 25, 2014 at 11:00 am #10579Theme Horse Support TeamKeymasterhi this is responsive design. There is option inside theme-option whether you want to view your site to responsive or full site. The right side content goes below at responsive design.
Thank youMay 25, 2014 at 3:10 pm #10587IcedQuickParticipantHi there,
Thank you for your reply. I have responsive on for the entire site so I am not sure why the red bar is only on one page? Also, it sits outside page content so how/where can I manipulate or fix it?
Regards,
Byron
May 25, 2014 at 3:20 pm #10590IcedQuickParticipantHi there,
I see this happens on the blog page as well. Surely there is somewhere to control this red bar?
Regards,
Byron
May 25, 2014 at 3:47 pm #10591Theme Horse Support TeamKeymasterHI
We didn’t get exactly what you mean ? which red bar are you talking about ? could you send the url of your site ?
Thank youMay 25, 2014 at 4:52 pm #10592IcedQuickParticipantHi there,
The site is under construction, so you wont be able to see it. Do you have a email account that I can share a screen shot with you? Will that help or will you actually need access?
Cheers,
Byron
May 26, 2014 at 3:22 am #10598IcedQuickParticipantSo after a few hours of testing, it seems the problem relates to the height of the page (i.e. not 100%). To fix this, I added the following to the CSS:
html, body, .wrapper {
height: 100%;
}But when I do that, long pages (such as the home page) then do not fill completely (i.e. the page background only fills halfway).
So I am still working on this 🙂
Cheers,
Byron
May 26, 2014 at 4:45 am #10599IcedQuickParticipantOkay so I added more content to the two pages and the red bar (i.e. the default red of the background color) is no longer showing.
Although the issue was not resolved, by adding more content and filling the page removed that extra space.
May 29, 2014 at 5:46 am #10725Theme Horse Support TeamKeymaster@IcedQuick Could you please provide us your site url so that we can look up the issue.
Thank you!
June 3, 2014 at 4:31 am #10914IcedQuickParticipantJune 5, 2014 at 10:06 am #11008Theme Horse Support TeamKeymaster@LcedQuick Could you please clarify with detail? We are not able to see any red bar in your site. Please send the screenshot to our email to [email protected] with forum topic link with highlighting the red bar.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.