-
AuthorPosts
-
monsterhunter Friend
monsterhunter
- Join date:
- September 2014
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
November 16, 2014 at 6:56 pm #202790The megamenu width in Uber template is 100%
How can I have it the same width as the width of the blog?See attachment-image.
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2014 at 3:57 am #555351Hi its the same in the all layout . i am not sure what exactly is issue .
Header is divided between logo , Main nav and right side module positions .
Please share a screenshot of problem with the page that you want .
and add your working site url here . so that i can check the issue you are facing .monsterhunter Friendmonsterhunter
- Join date:
- September 2014
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
November 17, 2014 at 11:01 am #555431I’m looking if I can use this template for a blog.
I don’t need most of the elements in this template but i like the layout of the blogsection.
The blog is centered on the page so i would like to have the menu centered too (in all layout because I will only use the blog).
I changed it in photoshop so you can see what I mean.Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2014 at 11:21 am #555432First If you want to to this only for Blog layout in that case you need to use a different header file for this template style .
For example if your are using default layout for your blog template style .
you need to customize the header.php for this layout .
Go to templatesubertplsdefault.php
you can see it is using header-1
so go to templatesubertplsblocksheader-2.php file .
make a duplicate file for this . for example Header-blog.php
now open header-blog.php
find this code
<div class="row">
and change it into<div class="row"style=" max-width: 86%; margin-left: auto; margin-right: auto; ">
Now comes back to templatesubertplsdefault.php open this file
change this code
<?php $this->loadBlock('header-1') ?>
into
<?php $this->loadBlock('Header-blog') ?>
save and check .
NOTE : take a back of your site before any change
Don`t play with your live site .Let me know if it helps
1 user says Thank You to Pankaj Sharma for this useful post
monsterhunter Friendmonsterhunter
- Join date:
- September 2014
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
November 17, 2014 at 11:54 am #555437Thanks so much for this explanation pankajsharma !!!
Your code works perfect. I changed the 86% to 1150px and it fits ferfect with the blog.Thanks again!
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by monsterhunter 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum