Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Need help with css - sidebar.
Old 04-03-2008, 03:23 PM Need help with css - sidebar.
nyunyu's Avatar
Super Talker

Posts: 113
Name: Aizal
Trades: 0
Hello guys, I have a wordpress blog used for publishing my templates design.
I use the theme from acosmin.com.

Currently, I customized the theme to my need and that part is okay. The part I'm having problem is the sidebar part. I want to add another sidebar side-by-side with the current sidebar. Then, the adsense will be on the new sidebar.

The current css for sidebar is as below:


#side .sidebar1 { width:150px; float:left; border:1px solid #E3EBED; background-color: #fff; background-image:url(images/sidebar_back.gif); background-position: top; background-repeat: repeat-x; padding:5px 4px 10px 4px; margin:0px 5px 0px 0px; }

How can I achieve this? Anyone can help?

Thank you.
nyunyu is offline
Reply With Quote
View Public Profile Visit nyunyu's homepage!
 
 
Register now for full access!
Old 04-03-2008, 03:28 PM Re: Need help with css - sidebar.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
We really need to see ALL the code, or a URL, to know where and how the new sidebar would fit.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-03-2008, 04:04 PM Re: Need help with css - sidebar.
nyunyu's Avatar
Super Talker

Posts: 113
Name: Aizal
Trades: 0
Ah..I forgot to add the url again...

here you go.

http://www.xytheme.com

thanks.
nyunyu is offline
Reply With Quote
View Public Profile Visit nyunyu's homepage!
 
Old 04-03-2008, 04:19 PM Re: Need help with css - sidebar.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
If you want both sidebars to be dynamic, you are going to have to change the context of some of the PHP in one of the theme files in order to include them correctly. I don't remember it off hand, but it isn't very useful just to add sidebars in a Wordpress theme without making them dynamic also.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-03-2008, 04:31 PM Re: Need help with css - sidebar.
nyunyu's Avatar
Super Talker

Posts: 113
Name: Aizal
Trades: 0
I just want to have another sidebar on the place where adsense ads is and adding some links there. I thought this can be achieve by modifying the css.
nyunyu is offline
Reply With Quote
View Public Profile Visit nyunyu's homepage!
 
Old 04-03-2008, 07:48 PM Re: Need help with css - sidebar.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You can't add a sidebar just by modifying the CSS, though you surely must modify it if you want to make a new sidebar. You need to add markup (html) to the page. My main question is, why would you want to? This site already has 3 sidebars, and a narrow content area. It is already too crowded. Are you sure you want another sidebar on top of everything?
__________________
Join me on
Please login or register to view this content. Registration is FREE

Last edited by wayfarer07; 04-03-2008 at 07:50 PM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-03-2008, 07:56 PM Re: Need help with css - sidebar.
nyunyu's Avatar
Super Talker

Posts: 113
Name: Aizal
Trades: 0
Yes, I have three sidebars. I just want to replace the sidebar which Adsense is at to include a background image, so that I could transfer some links from the other sidebar to the new sidebar..

And no, I'm not looking to add 4th sidebars.
nyunyu is offline
Reply With Quote
View Public Profile Visit nyunyu's homepage!
 
Old 04-03-2008, 08:12 PM Re: Need help with css - sidebar.
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Hehe, sorry, I should have read your post more closely. The Google ads are within the div named "#sidebar2". This div is probably in a file called 'sidebar2.php' in your theme folder. The Ad itself is within an iframe. Either you will have to go to sidebar2.php and remove the iframe from the markup, or (hopefully) just remove the text-widget from that sidebar in your widgets panel in admin. There also seems to be a couple of javascripts associated with these ads. Figure out how to remove them. Once you remove this stuff worry about adding a background image. That part is easy enough.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to Need help with css - sidebar.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27503 seconds with 12 queries