Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 13th Aug 2013, 09:00 AM   #1
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 42
Thanks: 68
Thanked 1 Time in 1 Post
Default
Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

Hi guys! I'm not sure if this should be in the other section or if here is fine. :confused:

I'm using the Admired Theme for my wordpress site, Taaron.org. I've placed a 250 x 250 Square ad on my site, but I'm not seeing the click through rate I'd want, so I decided to switch it to a recommended 300 x 250 Medium Rectangle.

However, the Medium rectangle gets cut off. I've created a child theme, created the child style css, and I'm not sure what to do now. I've copied over the data for the left div from the parent style.css to the child.css, and changed the width to 300 on the child.css, however I'm not seeing any change. Am I doing something wrong? :confused:

Additionally, I'd like to put in an wide adsense banner between the header and the posts, so I copied over the index.php as well. Would it better to just drop in the adsense data, or create a separate adsense.php file and use the get command to bring it in?

Much appreciated, thanks!

Last edited on 13th Aug 2013 at 09:00 AM. Reason: Adding site link.
taaron is offline  
Unread 13th Aug 2013, 10:35 AM   #2
Niche Websites Buildiers
War Room Member
 
topnichewebsites's Avatar
 
Join Date: 2012
Location: Annapolis, Maryland - USA
Posts: 857
Thanks: 62
Thanked 171 Times in 169 Posts
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

Might be easier to just go with a 1 sidebar vs 2 then the 300 wide will fit better. On your right side bar images are cutoff in your twitter feed as well. As far as the banner between your header and posts just code the header.php file with your adsense code.

http://pixelcovers.com/ <- eBook add eCovers

https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
topnichewebsites is offline  
The Following User Says Thank You to topnichewebsites For This Useful Post:
Unread 13th Aug 2013, 01:55 PM   #3
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: 2008
Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

I'm not seeing any alterations to the main theme's CSS in the child theme.

Robin


...Even if you're on the right track, you'll get run over if you just set there.
RobinInTexas is offline  
Unread 13th Aug 2013, 03:41 PM   #4
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 42
Thanks: 68
Thanked 1 Time in 1 Post
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

yay! I found the div I needed to edit.

Only thing now...it's overlapping my posts. :/ Should I set it to the parent theme while I tinker on the Child theme?
taaron is offline  
Unread 14th Aug 2013, 11:36 AM   #5
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: 2008
Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

I usually make sure I have a backup and make small adjustments like you are dealing with live, if the site breaks, I can restore immediately.

Robin


...Even if you're on the right track, you'll get run over if you just set there.
RobinInTexas is offline  
The Following User Says Thank You to RobinInTexas For This Useful Post:
Unread 14th Aug 2013, 06:23 PM   #6
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 42
Thanks: 68
Thanked 1 Time in 1 Post
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

Thanks. Set it over to the parent theme while I tinker.
taaron is offline  
Unread 16th Aug 2013, 02:23 PM   #7
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 42
Thanks: 68
Thanked 1 Time in 1 Post
Default
Re: Adding ads to my site.
Share on: 
fb share twitter share gplus share more share

Okidoke. Updates time, I got my problem with the top adblock and content figured out.

The original advice I had found on a search about adding adsense to the Admired theme, someone had suggested to put the adsense banner between
<div id="primary">
<div id="content" role="main">
and the PHP to pull the posts kicked in. No matter what changes to the CSS I made, I couldn't figure out how to move it.

Finally, I just decided to put the Adsense code outside the primary div. Problem solved.

The content section being over lapped was an incredibly easy fix, too. All I had to do with set the width to 95% or 96% and it was no longer being covered.

My side bars are still looking a little cut off on the right sides, but I'll worry about those later. I'm happy with this small victory.
taaron is offline  
Closed Thread


Bookmarks

Tags
adding, ads, site


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




All times are GMT -6. The time now is 05:41 AM.