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

Integrate Skyscraper banners
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Integrate Skyscraper banners

Integrate Skyscraper banners 11 years, 2 months ago #12498

Hello,
would like to integrate on the left and right side two banners (160x600 skyscraper), see picture. But I don’t know how, what position should I choose in module or needs to change code on template.

Thank you for your response.
Attachments:
Last Edit: 11 years, 2 months ago by nexhi.

Re: Integrate Skyscraper banners 11 years, 1 month ago #12704

Hi Nexhat Isufi,

I am sorry for this late.

- Please go to: your_site\templates\sj_worldnews\index.php and add before </body> the codes:

<div id="divAdLeft">
		<jdoc:include type="modules" name="ad_left" />
	</div>
	<div id="divAdRight">
		<jdoc:include type="modules" name="ad_right" />
	</div>


- then go to : your_site\templates\sj_worldnews\css\template.css and add at end file template.css the codes:

/*-----ad----*/
#divAdLeft{
	width: 160px; 
	display: block; 
	position: fixed; 
	top: 50px; 
	border: 1px solid #ccc;
	left: 15px; 
 	height: 600px;
}
#divAdRight{
	width: 160px; 
 	display: block; 
	position: fixed; 
	top: 50px; 
 	border: 1px solid #ccc;
	right: 15px; 
	height: 600px;
}


- Go to your_site\templates\sj_worldnews\css\mobile.css and add at end file mobile.css the codes:

#divAdLeft, #divAdRight{
	display:none;
}


Thanks!

Re: Integrate Skyscraper banners 11 years, 1 month ago #12705

Hi Nexhat Isufi,

- Please go to your_site\templates\sj_worldnews\templateDetails.xml and add before </body> the codes:

<position>ad_left</position>
		<position>ad_right</position>


Thanks!

Re: Integrate Skyscraper banners 11 years, 1 month ago #12728

Hello SA Anh,

Thank you for your support.

Following :
1. Banners are permanently active, should be active only when adding modules. I added only module banner on left, see Figure ads-pic1.jpg. Banner on the right is also active. Will not always add left and right banner.

2. When the browser window is smaller banners are moving in the inner region. On shrink window the banner have to disappear in the background, see Figure ads-pic1.jpg


Thanks!
Attachments:
Last Edit: 11 years, 1 month ago by nexhi.

Re: Integrate Skyscraper banners 11 years, 1 month ago #12824

Hi Nexhat Isufi,

1. Please go to: your_site\templates\sj_worldnews\index.php find the codes:

<div id="divAdLeft">
		<jdoc:include type="modules" name="ad_left" />
	</div>
	<div id="divAdRight">
		<jdoc:include type="modules" name="ad_right" />
	</div>


=>
<?php if ($this->countModules('ad_left')): ?>
	<div id="divAdLeft">
		<jdoc:include type="modules" name="ad_left" />
	</div>
	<?php endif; ?>
	<?php if ($this->countModules('ad_right')): ?>
	<div id="divAdRight">
		<jdoc:include type="modules" name="ad_right" />
	</div>
	<?php endif; ?>


2. We're sorry. This template is not supported responsive layout.

Thanks!

Re: Integrate Skyscraper banners 11 years, 1 month ago #12854

Thankyou for your support.
As a tip, position for ads (skyscraper) are very important, add into new templates.


A news Tempalte (SJ Worldnews) which can not integrate any Skyscaper ads (.
Last Edit: 11 years, 1 month ago by nexhi.
  • Page:
  • 1
  • 2
Time to create page: 0.29 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