Announcement

#1 2013-03-12 17:53:55

obucek
Member
2013-03-10
13

Google adsense on left and right side

Hello!

I need help!

How I can put google adsense code into main webpage, but must be on left and right side.

For top i used add < head > element and for bottom i used footer personnel.

This to adds works fine, but how to put adsense on left and right outside div#content!

I lost 2 days and nothing.

I use stripped as default theme.

Please I need fast answer!

Thx and all the best!

Oliver

Offline

 

#2 2013-03-12 18:19:41

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

Hi :-)

For add adsense you can use [extension by plg] PWG Stuffs


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2013-03-12 18:33:24

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

Hello!

I try pwg but how to move pwg block outside (same as top or bottom)?

When i use pwg for google adds its create block same as random photo
(up or down near category) but i want to put adds outside (on the left
side near menu)!

Thx for answer

Offline

 

#4 2013-03-12 19:27:29

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

Hi :-)

For add adsense in menu you can use [extension by grum] Advanced Menu Manager


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2013-03-12 19:33:42

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

I try this to ;)

I need solution outside menu block!

Later i will try send you print screan or if you take a look at www.studiogirs.com/galerija

This is only testing link ;)

I try css and class but cant put adds outside on left or right side

Offline

 

#6 2013-03-12 19:57:37

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

obucek wrote:

I need solution outside menu block!

where exactly ?
you can add specific CSS for bloc PWG Stuffs


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2013-03-12 21:16:30

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

ok! see photo in attachment (retangle)

thx

Last edited by obucek (2013-03-12 21:22:09)

Offline

 

#8 2013-03-12 22:25:42

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

Hi :-)

with Personnal block in [extension by plg] PWG Stuffs


exemple

#stuffs_block_1{
position:fixed;
width:70px;
height:200px;
left:20px;
top:100px;
}


update number bloc and size ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#9 2013-03-12 23:07:21

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

yes yes yes

thats it ;)

thx thx thx

the best

Offline

 

#10 2013-03-13 17:53:35

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

Hello!

Ok I successfully create ads on left and right and at my laptop monitor looks fine. At another monitor with lower resolution resolution have problems. My adds are over gallery and pictures.

How to solve this problem?

Thanks again for answer!

Last edited by obucek (2013-03-13 17:54:55)

Offline

 

#11 2013-03-13 18:04:54

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

Hi :-)

you can test size to %

example

width:8%;


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#12 2013-03-13 18:19:54

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

I try and on high resolution is ok!

At low resolutio is not ok. Is the same!

:(

Last edited by obucek (2013-03-13 18:20:17)

Offline

 

#13 2013-03-14 14:55:28

EdwinKort
Translation Team
Rhoon, the Netherlands
1970-01-01
95

Re: Google adsense on left and right side

ddtddt wrote:

Hi :-)

with Personnal block in [extension by plg] PWG Stuffs


exemple

#stuffs_block_1{
position:fixed;
width:70px;
height:200px;
left:20px;
top:100px;
}


update number bloc and size ;-)

This should go in the CSS of the plugin? And the new block should be named #stuff_block_1?


My Gallery
Hosted with: Surpass Hosting since 2004

Offline

 

#14 2013-03-14 16:12:13

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Google adsense on left and right side

@EdwinKort

no in your css local file


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#15 2013-03-14 20:48:11

obucek
Member
2013-03-10
13

Re: Google adsense on left and right side

Hello to all ;) I sill have problems and don't know how to solve it!

1. I create PWG personal block

2. in locall css i add

for adds on the left side

stuffs_block_5{
position:fixed;
width:8%;
height:620px;
left:92px;
top:100px;
}

for adds on the right side

#stuffs_block_6{
position:fixed;
width:8%;
height:620px;
left:1488px;
top:100px;
}

On low resolution my adds go over my gallery photos.

I would be very happy if someone knew a solution.

Thx and all the best

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact