Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Need Some CSS Work (https://www.warriorforum.com/programming/181421-need-some-css-work.html)

hyperlite 20th February 2010 03:37 PM

Need Some CSS Work
 
Hey guys,

I just threw up this job search page at Automation Jobs and I need to do some CSS changes to make it look more like this: Automation Jobs | Indeed.com

Basically I just want to align it left, widen the columns, and add a column on the right for advertisements. The problem is this is a script and I don't have access to the stylesheet.

Is there any way I can just do CSS overrides from the header by looking at the source code?

hyperlite 20th February 2010 04:11 PM

Re: Need Some CSS Work
 
Also I'd be willing to pay if someone could just do it for me :D

mojojuju 20th February 2010 06:26 PM

Re: Need Some CSS Work
 
Quote:

Originally Posted by hyperlite (Post 1776783)
Hey guys,


Basically I just want to align it left, widen the columns, and add a column on the right for advertisements. The problem is this is a script and I don't have access to the stylesheet.

What do you mean you don't have access to the stylesheet? It looks like all of the stylesheets used to style your content are being served from your domain.

hyperlite 21st February 2010 12:12 PM

Re: Need Some CSS Work
 
Quote:

Originally Posted by mojojuju (Post 1777172)
What do you mean you don't have access to the stylesheet? It looks like all of the stylesheets used to style your content are being served from your domain.

Hey. The script is hosted by Jobamatic.com and they host everything. I just made a CNAME and pointed my domain at the script.

I only have access to the header and footer so I have to do css overrides from there. You can see most of the classes and IDs from the source code so I would think you could just override the style in the header right?

mojojuju 21st February 2010 12:49 PM

Re: Need Some CSS Work
 
Oh yes, you can do that.

As an example, copy and paste the following somewhere in your header:

HTML Code:

<style>

.listing {background:yellow}

</style>


hyperlite 21st February 2010 01:13 PM

Re: Need Some CSS Work
 
It worked!

So would it be possible to add a column down the right side where I could put advertisements?

Quote:

Originally Posted by mojojuju (Post 1779653)
Oh yes, you can do that.

As an example, copy and paste the following somewhere in your header:

HTML Code:

<style>

.listing {background:yellow}

</style>



firstdandy 21st February 2010 06:44 PM

Re: Need Some CSS Work
 
Actually Override the css can be done using the header. But do You have control to the body content of the script?

hyperlite 21st February 2010 07:08 PM

Re: Need Some CSS Work
 
Ok so I got it to align left and I widened the left column. Now I need to widen the main column and add a right column. Any suggestions?

Reps/thanks for answers.

mojojuju 21st February 2010 07:53 PM

Re: Need Some CSS Work
 
Quote:

Originally Posted by hyperlite (Post 1780937)
Ok so I got it to align left and I widened the left column. Now I need to widen the main column and add a right column. Any suggestions?

Reps/thanks for answers.

Here's a real quick and dirty example of how to add a right column. Just put the following at the end of your header:

HTML Code:

<style>
.content {float:left;}
.clear {clear:none}
.rightcol {margin-top:25px;width:150px;float:right;clear:right;}
.footer {clear:both}
.body {width:950px}
</style>
 
<div class="rightcol">
        <p style="margin-top:25px">This is where a right column would go. Ain't it snazzy?</p>
        <p style="margin-top:25px">What would you put here? A vertical banner? A menu?</p>
        <p>Maybe a random list of stuff:</p>
        <ul>
                <li>Bananas</li>
                <li>Footballs</li>
                <li>Tiger Woods</li>
                <li>Chairs</li>
 
        </ul>
</div>

Works in IE and Google chrome. Should work in most other browsers as well. As for the main column, I think the class name is 'content', so specifying the width you want to that class should do it. Notice I changed the 'body' class in the example above, so if the sum of the widths of your columns exceeds that of the 'body' class, you're gonna have to change the width of the 'body' class accordingly.

hyperlite 21st February 2010 08:24 PM

Re: Need Some CSS Work
 
It worked! Thank you so much you have no idea how much I appreciate this. I've been struggling with it for hours.

mojojuju 21st February 2010 08:34 PM

Re: Need Some CSS Work
 
You're very welcome! :) Have fun with that.

hyperlite 23rd February 2010 12:04 AM

Re: Need Some CSS Work
 
I still can't figure out how to stretch out the middle column with the job listings... I've tried content, main, listings... nothing works.


All times are GMT -6. The time now is 06:24 AM.