Jump to content

Archived

This topic is now archived and is closed to further replies.

daragh

Have successfully added two new sidebars, can't get them to line up horizontally.

Recommended Posts

daragh    0
daragh

Hi,

 

http://www.kennedycarr.com/test-page/

 

I've successfully setup up two new sidebars as shown on the above page. I'm trying to get them to line up beside each other horizontally but the second one seems to always start (vertically) after the end of the first one.

 

Pulling my hair out here...

 

Here's the CSS I've added:

/* main CSS moved to child theme - don't panic :-) */


#homepage-left-sb .widget-pad{
float:left;
background-color:#99FFFF;
width:30%
}

#homepage-right-sb .widget-pad{
float:right;
background-color:#FFFF99;
width:30%;
}

#homepage-left-sb .fix:before , #homepage-left-sb .fix:after {
content:none !important;
clear:none !important;
}
#homepage-right-sb .fix:before , #homepage-right-sb .fix:after {
content:none !important;
clear:none !important;
}

Share this post


Link to post
Share on other sites
daragh    0
daragh

I think the issue may be down to the .fix CSS parameter being globally applied; Firebug shows this:

.fix:after {
clear:both;
}

or it could one of the classes in here:

<section id="homepage-left-sb" class="container clone_1 section-homepage-left-sb fix">

Any pointers greatly appreciated!

Share this post


Link to post
Share on other sites
daragh    0
daragh

Actually,

 

I think I'm getting close to a solution:

 

If I change:

<section id="homepage-left-sb" class="container clone_1 section-homepage-left-sb fix">

to just

<section id="homepage-left-sb" class="">

It seems to resolve the issue. However, I'm not sure how to remove those. These sidebars were created using the following code uploaded to a child theme:

<?php
/*
	Section: Homepage Left SB
	Author: PageLines
	Author URI: http://www.pagelines.com
	Description: Shows full width widgetized sidebar.
	Class Name: HomepageLeftSB
	Edition: pro
	Workswith: templates, footer, morefoot
	Persistant: true
*/

/**
 * Homepage Left SB
 *
 * @package PageLines Framework
 * @author PageLines
 */
class HomepageLeftSB extends PageLinesSection {

	/**
	* Section template.
	*/
	
function section_persistent() {
	$setup = pagelines_standard_sidebar($this->name, $this->settings['description']);
	register_sidebar($setup);
}
	
   function section_template() {
		 pagelines_draw_sidebar($this->id, $this->name);
	}
}

So I'm wondering is there a way to set up those sidebars by modifying the code to NOT include the other CSS items in the line beginning with <section>

 

Or is this a bad approach?

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, if you're on the standalone edition of IBlogPro4 then unfortunately there were no options as to where the sidebar could be positioned or duplicate sidebars like there was in the IBlogPro5 child theme for the framework. This is because the theme is much older and didn't use the drag and drop system.

 

We can't officially advise making edits directly to the core files, this would be at your discretion. But as the theme is an older theme now and won't receive any updates this will probably be your best option if you wish to stick with the theme.

 

Unfortunately these standalone themes are no considered legacy themes and will receive no further, we'd advise moving up to the latest PageLines DMS system in order to be able to successfully implement and position additional sidebars using the drag and drop live editor.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
daragh    0
daragh

I'm not on iBlogPro4, I'm on 5.

 

Again, any pointers would help. I've found that if I add the following CSS:

.fix:after {
 	content: "";
  display:inline;
}

It does EXACTLY what I want in terms of the two paragraphs, but breaks other sections of the site.

 

I then tried:

#homepage-left-sb .fix:before, #homepage-left-sb .fix:after, #homepage-right-sb .fix:before, #homepage-right-sb .fix:after {
    content: "" !important;
    display: inline !important;
    line-height: 0 !important;
}

to apply the class to the new html IDs specifically, but it doesn't work.

 

So close I think, yet so frustrated. Something simple I'm missing?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

  • Similar Content

    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • thirdstonemedia
      By thirdstonemedia+
      I've been fighting with a resolution issue ? Want to use Flick Slider, the site looks great on my monitor but client says she can't see bottom of homes. I believe she's on an old PC using outdated browser/s ... but, she's important to me and I'd like to make this work, on her system. Without asking her adjust her own set-up. 
      I put the Flick Slider inside a container, here ::
      http://becauze.xyz/home-five
      Set the Height of Flick Slider to 50 Base ... I don't know how this works exactly ... there is a Base then a Min ... but, haven't adjusted the Min ::
      http://becauze.xyz/home-four/
      Tried using Splash Up, which presents the same issue (she can only see top of home) and she wants several images to rotate on Home page, so not sure this would work anyway ::
      http://becauze.xyz/
      I have tried going into Layout and making the width narrower, and that does make the site narrower, but the homes still don't display in full, on her system. Help ?

      Here are her screen grabs, both desktop and iPad  (dumped the chalkboard background).

      FInally, she said these look great ::
      http://www.sinclairaia.com/
      http://www.kristihanson.com/
      What am I doing wrong ?? Is there a better way to accomplish making the site look great on any resolution at any size ?
      Joanne
      (Longtime Pagelines-lover.)


    • Suneel
      By Suneel+
      I updated my theme to framework and now can't get rid of this bright blue bar that appears across the top of every page. It says, "A fixed bar that makes it easy to promote important content.", and then a button that says, "Get PageLines".
      I am a novice and need help.
      Thank you!
      Natalie
    • kwaoru
      By kwaoru
      Hi,
       
      I have been using DMS and pagelines.
      I am facing to a huge trouble with the appearance of one of my page on mobile (smart phones) built with pagelines.
      However I haven’t come to any solutions to organise either edit the appearance of mobile view to look neat or deactivate the responsive function. 
      Now it looks totally messy on the phone...
       
      1. Is there any way to edit the appearance of the mobile version (responsive theme)?
      2. Is there any way to deactivate responsive function?
       
      If I could receive support from you to go thorough this process I would be happy to be a pro member. 
       
      Looking forward to hearing from you.
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
×