-
AuthorPosts
-
November 17, 2009 at 7:41 am #146102
Hi I am using the JA Nagya template. I love the look of the template, but i am having problems with spacing on the frontpage. I would like to get rid of the space below the image/text “Experience the view”. I tried everything and the space doesnt want to dissapear. Can somebody please assist me with this problem as it will round off the website nicely i I can get rid of the space
Thank you in advance!
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
November 17, 2009 at 10:07 am #323947The problem I feel is occuring because you have the above image in table and then you have a <p></p> within which you are calling the Experience the view image.
To fix this you should move the experience image outside the <p> into the table…
Try to fix it from the HTML code view in articles, that will give you better idea.
November 18, 2009 at 12:49 pm #324108Thanks for the reply – but i tried it and the exstra space is still below “experience the view” image. Any other suggestions? Thanks in advance
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
November 18, 2009 at 3:33 pm #324120Hi
As I dont have access to the admin panel, I can suggest what is wrong. From view source, this is the code being generated.<h4><strong>Accredited / Members of the following:</strong></h4>
<table style="text-align: left;" border="0" cellpadding="0" cellspacing="0">
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;"><a href="http://www.naa.co.za/" target="_blank"><img src="/images/stories/naa.png" border="0"></a></td>
<td style="text-align: left;"><a href="http://www.sabc.co.za/portal/site/sabc/" target="_blank"><img src="/images/stories/sabc.png" alt="sabc" border="0"></a><br></td>
<td style="text-align: left;"><a href="http://www.tourismgrading.co.za/" target="_blank"><img src="/images/stories/tourism.png" alt="tourism" border="0"></a><br></td>
<td style="text-align: left;"><a href="http://www.bnbsure.co.za/" target="_blank"><img src="/images/stories/bnb.png" alt="bnb" border="0"></a><br></td>
</tr>
</tbody>
</table>
<br><br><br><br></li>
</ul>
<p><a href="/index.php?option=com_content&view=article&id=70&Itemid=92" target="_self"><img src="/images/stories/home-img3.jpg" border="0"></a></p>Now as you see the home-img3.jpg is inside a <p> and also if you see just above that
<br><br><br><br></li>
</ul>Ideally your image should be inside the table so that there are no spacing problems, but incase you want it outside the table see that the extra br & p are not there and it should solve your problem
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 19, 2009 at 6:50 am #324185Hi ooweboo
please open templatesja_nagyajsja.script.js file, find following code section(233):
window.addEvent ('load', function() {
equalHeight();
addSpanToTitle();
jaAddFirstItemToTopmenu();
});and change to:
window.addEvent ('load', function() {
addSpanToTitle();
jaAddFirstItemToTopmenu();
});November 19, 2009 at 7:55 am #324204Hi – I have tried it, but it looks like there is more space now under the image “Experience the View”. I basically want all the space between the image and the bottom modules to go away. Please help me? Thanks alot for you assistance so far.
After i have changed it, i changed it back, because there was more space and unfortunately the site is live, so dont want the client to moan. thanks alot.
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
November 19, 2009 at 9:16 am #324232Hi
Can you do one thing, from admin panel open the article, open HTML view, and then paste or upload the html code in a text file over here.
I will replicate it locally and let u know what the problem is
prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
November 19, 2009 at 9:40 am #324239See the screenshot, I copied the text from your site and replicated it at my end.
I still find that this is a issue related to extra breaks. I removed them and you can see the result below
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 20, 2009 at 8:21 am #324362Hi prbalge
after remove equalHeight();
you open templates/ja_nagya/css/template.css file, at about line 524, find following code:
#ja-colwrap {
float: right;
overflow: hidden;
width: 45%;
background: url(../images/dot.gif) repeat-y center;
margin: 20px 0;
height: 700px !important;
}Additional, in Landmarks module, i saw a lot of br tag in Sports Stadiums
4km item. You should remove it. it is the main cause.1 user says Thank You to JA Developer for this useful post
November 20, 2009 at 12:02 pm #324402Thanks for your reply, appreciate it!!!
-
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by ooweboo 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum