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

top left position add header template smart news
(1 viewing) (1) Guest

TOPIC: top left position add header template smart news

top left position add header template smart news 11 years, 9 months ago #4069

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
hello
I wanted to add a position in header
in layouts / left-right-main.xml
position> width="730px" height="90px" type="modules"> header3 </ position>
templateDetails.xml in:
<position> header3 </ position>
what code in css template to define such
# {header3
float: left;
top: 5px;
width: 730px;
height: 90px;
}

thank you
website: alsoft-informatique.com/ar/
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4070

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
this is what I want to

Attachment header.jpg not found

The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4075

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Youness tallih,

You can edit the layout file in your template.

Example: main-right.xml file.

Please open it in "your_site/templates/smart_news25/layouts", finding:

	<header order="2" id="yt_header">
			<positions>
				<position width="500px" height="" type="feature">@logo</position>
				<position width="" height="" type="modules">header1</position>
				<position width="210px" type="modules">header2</position>
			</positions>
		</header>


change to

<header order="2" id="yt_header">
			<positions>
				<position width="270px" height="" type="feature">@logo</position>
				<position width="730px" height="" type="modules">header3</position>
				<position width="" height="" type="modules">header1</position>
				<position width="210px" type="modules">header2</position>
			</positions>
		</header>


Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4077

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
thank you for the answer

but how to header3 top left and the logo properly center
look at my picture
thank you
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4083

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Youness tallih,

When you edit the main-right.xml file as mentioned, the header3 is at the top left.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: top left position add header template smart news 11 years, 8 months ago #4096

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
thank you
I modified the file main-right.xml header3 is left
how to put a header and header 2 left?

I use firebug to see css and I find
element.style:
float: right;

and I want to change
float: left;
I can not find the file
alsoft-informatique.com/ar/
thankssssssss
Last Edit: 11 years, 8 months ago by noumidianews.
The topic has been locked.
Time to create page: 0.26 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