How to beautify Google Adsense ads

Source: Internet
Author: User

See a beautifying Google Adsense advertisement on the Internet. CodeAnd does not violate the rules. First, create a background image (as shown below) and upload it to the images directory in the template directory. The width and height are 555 × 79. Of course, you can define the size of the background image, it depends on the size of the Google Adsense advertisement you will display.

Then, add the following code to the style.css style sheet file of the template:

# Gsbg_single {
Width: 480px;
Height: 70px;
Background-image: URL (images/gsbg2.jpg );
Padding-top: 10px;
Padding-left: 75px;
}

Finally, insert the following code in the corresponding part of the template to determine where you want to display it:

<Div id = gsbg_single>
# Insert Google Adsense code here
</Div>

If the position is biased, debug the value of padding-top or padding-left until the position is correct.
The effect is as follows:

After adding the background image, you need to change the AdSense font and border color to # cbecf5. Of course, you can also customize it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.