Jump to content
Sign in to follow this  
SaleekR

Ok Really simple CSS question

Recommended Posts

SaleekR

My brain is fried and i'm sure this is a simple fix, but my mind just wants to sleep...

I'm trying to replace the branding section with the universal sidebar and a text widget to get 3 divs floating side by side.

But for the life of me i just can't get it to work.

Any suggestions as to what i did wrongs?

 

http://cloudcomputingnewyork.com/dev/

 

Thanks

 

 

Share this post


Link to post
Share on other sites
SaleekR

Sorry. Here is the code

<div id="10head">
<div id="con">
<h4>10/10 OPTICS</h4>
<p>P. 212.366.1010 | F. 212.366.1466<br /> E. <a href="mailto:info@1010optics.com">info@1010optics.com</a></p>
</div>
<div id="10logo"><img class="aligncenter size-full wp-image-488" alt="1010_Logo" src="http://cloudcomputingnewyork.com/dev/wp-content/uploads/2013/03/1010_Logo.png" width="135" height="132" /></div>
<div id="addy">
<h4>50 MADISON AVE.</h4>
<span style="font-size: 17px;">at 26th St</span>
<h6>NEWYORK</h6>
</div>
</div>

and the css

.widget #10head {

  margin: 0 auto;
    max-width: 1000px;
	top:0px;
	width:992px;
	height:152px;
}

.widget #con {
	float:left;
	top:0px;
	width:432px;
	height:152px;
	text-align:center;
}
.widget #con h4 { font-size:28px;
	
}
.widget #addy h4 { font-size:28px;
	
}
.widget #addy h6 { font-size:24px;
letter-spacing:20px;
color:#666;
	
}


.widget #10logo {
	float:left;
	top:0px;
	width:148px;
	height:152px;
}

.widget #addy {
	
  float:right;
		top:0px;
	width:411px;
	height:152px;
	text-align:center;
}
You'll need Skype CreditFree via Skype

Share this post


Link to post
Share on other sites
James B

Hi there,

 

I've just checked your site and the widgets are floating side by side, you seem to have this working now.

 

Let us know if you need further assistance


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
SaleekR

No, I was just trying out using a table instead, but that didn't work in keeping the site responsive. Still need help.

Share this post


Link to post
Share on other sites
James B

Hi there,

 

I think your easiest option would be to place a contentbox in the header section, content box is a free section available from the pagelines store. It allows you to add extra text/html to an area just like in the wp editor. You can then use the pagelines grid shortcodes to create three columns and enter your content in there. That way it will be perfectly aligned within the header.

 

You can find the grid shortcodes here - http://demo.pagelines.me/tools/

 

If you're still looking at the float option you'll need to float the all left in order for them to align horizontally.


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Paul
      By Paul+
      I was surprised to see I had no menu today - out of the blue - its actually moved to the bottom of the page!  After hours of fiddling and disabling every single plugin, leaving just plagelines the issue is still present.  See video for a basic text box - I moved it into the head and it jumps to the bottom and shows just above the footer but below the main content.  I have a temp fix by placing the menu into the first row on the main content but it does mean other than my home page, all other pages have no menu.  A quick fix is very urgent for this bug.
      https://thelaptopfixers.com
       
       
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
×