Sj Remoz - Free eCommerce Joomla Template for VirtueMart!
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

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

TOPIC: Integrate Skyscraper banners

Integrate Skyscraper banners 5 years, 11 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: 5 years, 11 months ago by nexhi.

Re: Integrate Skyscraper banners 5 years, 11 months 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 5 years, 11 months 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 5 years, 11 months 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: 5 years, 11 months ago by nexhi.

Re: Integrate Skyscraper banners 5 years, 11 months 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 5 years, 11 months 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: 5 years, 11 months ago by nexhi.
  • Page:
  • 1
  • 2
Time to create page: 0.38 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.

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes