Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[Solved] Creating Module Positions for Advertisements
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: [Solved] Creating Module Positions for Advertisements

[Solved] Creating Module Positions for Advertisements 10 years, 8 months ago #11805

hi,
I just added a photo in which you see two pages from two different websites. One is sj teen template. I start building a new website with sj teen template. I want to add three google adsense codes to the places I showed in the picture( either number one or number 2 which was shown in the pic). Just under the menu. Just like the other template shows the adverts under the main menu. I tried to show ads on position h 1 but unfortunately it was appearing below the content. So can you please help me with this problem.


resim gönder
Last Edit: 10 years, 8 months ago by jonathan1980tr.
The topic has been locked.

Re: Creating Module Positions for Advertisements 10 years, 8 months ago #11816

still waiting for your support...
The topic has been locked.

Re: Creating Module Positions for Advertisements 10 years, 7 months ago #11987

  • SA Thuy
Dear Nurullah Öktem,

Please check your layout you chose in Template Manager->Layout->Default Layout (example: main-right).
Then please go to your layout file (your_site\templates\sj_teen\layouts\main-right.xml) and find:

<position class="span12" style="ytmod" group="main" type="modules">breadcrumb</position>

=>
Please change to :
<position class="span12" style="ytmod" group="main" type="modules">breadcrumb</position>
<position class="span12" group="main" style="ytmod" type="modules">adv</position>


You can add google adsense codes in your module and enter 'adv' module position.

Thanks
Last Edit: 10 years, 7 months ago by .
The topic has been locked.

Re: Creating Module Positions for Advertisements 9 years, 9 months ago #19459

Thank you for your answer. Now i have two other problems as shown in the image. Hope you can help me with them, too
Last Edit: 9 years, 9 months ago by jonathan1980tr.
The topic has been locked.

Re: Creating Module Positions for Advertisements 9 years, 9 months ago #19555

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Hi Nurullah Öktem,

For this issue, you can add a new position in the middle of header.
Workaround:
- Open file /layouts/main-right.xml
- Find this code:

<header2 html5tag="header" order="2" id="yt_header2" autosize="0">
			<positions>
				<position class="span8" type="feature">@logo</position>
				<position class="span4" style="none" type="modules">position-2</position>				
			</positions>
		</header2>


change to:


<header2 html5tag="header" order="2" id="yt_header2" autosize="0">
			<positions>
				<position class="span4" type="feature">@logo</position>
                                 <position class="span4" type="modules">new_position</position>
				<position class="span4" style="none" type="modules">position-2</position>				
			</positions>
		</header2>


- Add the Custom HTML module into new_position.

Thanks & regards!
The topic has been locked.

Re: Creating Module Positions for Advertisements 9 years, 9 months ago #19561

and how can i solve the problem with slide news as i showed in the image?
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes