Page 1 of 1

Need direction on where to change width between main menu and banner advert on my site.

Posted: Thu Oct 17, 2019 5:10 pm
by wineawards
Several years ago I was very kindly helped by a friend with my site

Code: Select all

www.vivaasiamagazine.com
to make the site scroll up and down while keeping the top banner and logo in place. I have now copied that site over to a new domain and made some changes to create a new site.

Code: Select all

www.winelistawards.com
I now want to change the code so that the top navigation buttons (Home, etc) are closer to the top banner advertisement so there is not so much white space. I have played around in the custom.css file but cannot work out which number to change to do this. Any help would be greatly appreciated.

I have attached two screenshots. One called wrong shows how it is now and the right one shows how I would like it.

Many thanks Jim

Re: Need direction on where to change width between main menu and banner advert on my site.

Posted: Fri Oct 18, 2019 3:51 am
by imanickam
Reviewed the site and I believe that making the following changes would help in what you want to achieve.

In the file custom.css (that is located in the directory \templates\ja_teline_v\css) make the changes as shown below. The changes to be made are shown within the comment (/*...*/) against the css attributes:

(a) Change 1 - Move Menu Upwards

Code: Select all

.t3-mainnav {
   margin: 20;
 
   position: relative;
   top: 200px; /* change the value from 200px to 150px */
   width: 100%;
    z-index: 1;
}

(b) Change 2 - Move Slideshow upwards

Code: Select all

.t3-wrapper > .main {
	padding-top: 201px; /* change the value from 201px to 151px */
}

Note:
Make sure to take a copy of the file custom.css before editing it.

Re: Need direction on where to change width between main menu and banner advert on my site.

Posted: Fri Oct 18, 2019 6:17 pm
by wineawards
Many thanks Imanickam, that worked perfectly. Appreciate your time.

Jim