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

reorganising header
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...

TOPIC: reorganising header

Re: reorganising header 11 years, 9 months ago #7744

still don't get it.

for the menu i want to add on top, i did insert the code :

<menu2 order="2" id="yt_footnav2" autosize="1">
			<positions>
				<position width="" type="feature">footnav2</position>
			</positions>
		</menu2>


in the template.css, i did add it under the /* Blocks in template */

in template.css, i did add as well :

/* ----------------------------*/
/* Block: yt-footnav2 */
/* ----------------------------*/
#yt_footnav2{
background:#00497c;
}
#yt_footnav2 .yt-main{
background: url("../images/bg_footnav.png") repeat-x scroll left center;
border-bottom:1px solid #336d96;
height:40px;
}
#yt_footnav2 .yt-position-inner{
margin:0;
}
#yt_footnav2 ul{
height:40px;
margin:0 0 0 70px;
}
#yt_footnav2 ul li{
float:left;
background:transparent;
line-height:40px;
padding:0;
}
#yt_footnav2 ul li a{
display:inline-block;
padding:0 16px;
font-size:11px;
color:#fff;
font-weight:bold;
line-height:40px;
}


in the module, the menu_bas is now attached to the position footnav2

the footnav2 appears on top of the main menu (should be below), but there is no menu inside, just the blue line background.


then when i try your solution, i do have the menu showing, but with no layout at all.
so then i did applied all the code of footnav2 under top_menu
but changed nothing


So where do i do wrong ?


regarding the header it is all fine, thank you for this.
The topic has been locked.

Re: reorganising header 11 years, 9 months ago #7745

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear shiyde,

Please do the steps mentioned again.

You have to style some things on your site.

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

Re: reorganising header 11 years, 9 months ago #7746

yep, got it by changing code with :
<menu1 order="2" id="yt_footnav2">
<positions>
<position width="" height="" type="modules">top_menu</position>
</positions>
</menu1>


but both changes, top_header et top_menu works only on homepage

i had done changes as on full.xml but doesn't show
The topic has been locked.

Re: reorganising header 11 years, 9 months ago #7747

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Please check the xml file again.

Do you really change the code in the correct layout file?

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

Re: reorganising header 11 years, 9 months ago #7749

i did put

<header1 order="1" id="yt_header1">
	<positions>
		<position width="" height="" type="modules">top_header</position>		
	</positions>
</header1>
<header2 order="2" id="yt_header">
	<positions>
		<position width="550px" height="" type="feature">@logo</position>
		<position width="" height="" type="modules">header1</position>
	</positions>
</header2>
<menu order="2" id="yt_menuwrap" autosize="1">
	<positions>
		<position width="" type="feature">@menu</position>
	</positions>
</menu>
<menu1 order="2" id="yt_footnav2">
	<positions>
		<position width="" height="" type="modules">top_menu</position>
	</positions>
</menu1>		


inside :

templates/sj_news25/layouts/full.xml

and

templates/sj_news25/layouts/layout-homepage.xml
The topic has been locked.

Re: reorganising header 11 years, 9 months ago #7751

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Could you please send your site url to us?

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.
Time to create page: 0.33 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