StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 01-28-2010, 01:26 PM
fritzwenzel fritzwenzel is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 22
Default Placing a google ad above the content gallery

Hi.

I am wanting to place a google banner below the header but above the content gallery and stretches the width of the page, which would move the homepage side widget down even with the featured content gallery.

How do I do that? I have searched the corporate forum but don't see any answers.

www.wenzelstrategies.com

Many thanks.
  #2  
Old 01-28-2010, 01:36 PM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default

open home.php

<div id="content">

<div id="homepage">
Place code here

<div class="homepageleft">
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
  #3  
Old 01-29-2010, 03:28 PM
fritzwenzel fritzwenzel is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 22
Default

Great. Worked perfectly. But, how do I get the ad to be centered?
  #4  
Old 01-29-2010, 03:32 PM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default

try this
change
<div id="homepage">

to
<div align="center" id="homepage">
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
  #5  
Old 01-29-2010, 03:40 PM
fritzwenzel fritzwenzel is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 22
Default

Perfectamundo! Thanks, Debra.
  #6  
Old 01-29-2010, 03:47 PM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default

you're welcome
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
  #7  
Old 01-30-2010, 09:45 PM
fritzwenzel fritzwenzel is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 22
Default

One quick follow-up - the centering of the ad also centered all copy on the page. I am fine with that, but would like to left-justify the text in the text widgets on the page (www.wenzelstrategies.com) if that is possible. Is it possible?
  #8  
Old 01-31-2010, 04:14 AM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default

d'oh of course it did..

k, do this instead

PHP Code:
<div align="centered" class="ad">
AD CODE

</div
and in style

.ad {
background: #F7F7F7;
margin: 0px 0px 10px 0px;
padding: 9px;
border: 1px solid #E6E6E6;
}
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing a "Google Ad Sense" into a post argrone General Discussion 6 03-03-2010 09:14 PM
is it possible to add google text link below content gallery juliansimm General Discussion 6 07-23-2009 09:41 AM
Placing of Featured Content Gallery Manualsinc General Discussion 1 06-03-2009 05:04 PM
Google Chrome won't show Featured Content Gallery Stewart General Discussion 1 03-23-2009 10:55 PM
Placing video above the content gallery luis_33 General Discussion 2 01-31-2009 08:19 AM


All times are GMT -5. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.