-
AuthorPosts
-
October 25, 2011 at 3:42 pm #170047
Hi,
I modified the Popular Destinations section on my site and used the following markup:
<div class=”destinations clearfix”>
<p class=”title-header”><strong>St. Vincent</strong></p>
<ul class=”text-link” style=”width: 23%;”>
<li class=”title-header”><strong>The Grenadines</strong></li>
<li><a href=”#”>Bequia</a></li>
<li><a href=”#”>Canouan</a></li>
<li><a href=”#”>Mayneau</a></li>
<li><a href=”#”>Mustique</a></li>
<li><a href=”#”>Palm Island</a></li>
<li><a href=”#”>Petit St. Vincent</a></li>
<li><a href=”#”>Union Island</a></li>
<li><a href=”#”>Young Island</a></li>
<li><a href=”#”>Tobago Cays</a></li>
</ul>
</div>
After making this change, the island listings no longer are shown in columnar format as the sample indicated. How do I modify the above HTML to ensure the listings are in columnar format?Thanks!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
October 25, 2011 at 4:29 pm #421513Hi,
You add this code into /templates/ja_travel/css/template.css
div.destinations ul.text-link {
width: 30%!important;
}October 25, 2011 at 4:50 pm #421517Khoand,
I added this to the template.css file near the .distinations (sp) tags but the change didn’t take effect. Is there a specific section to which this should be added within template.css?
Thanks!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
October 25, 2011 at 4:55 pm #421518You delete all of files of /cache and /t3-assets directory.
October 25, 2011 at 5:08 pm #421521I did this in the Admin panel Maintenance->Clear Cache but had no effect. Does this have to be done from within CPanel instead of Joomla?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
October 25, 2011 at 5:17 pm #421522You try to add this code into /plugins/system/jat3/jat3/base-themes/default/css/template.css
div.destinations ul.text-link {
width: 30%!important;
}October 26, 2011 at 5:18 pm #421724I added this to the bottom of the file you referenced. Unfortunately this still is not working. What further steps are required?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
October 27, 2011 at 9:00 am #421825You change your custom HTML to
<div class="destinations clearfix">
<p class="title-header"><strong>St. Vincent</strong></p>
<ul class="text-link">
<li class="title-header"><strong>The Grenadines</strong></li>
<li><a href="#">Bequia</a></li>
<li><a href="#">Canouan</a></li>
<li><a href="#">Mayneau</a></li>
</ul>
<ul class="text-link">
<li><a href="#">Mustique</a></li>
<li><a href="#">Palm Island</a></li>
<li><a href="#">Petit St. Vincent</a></li>
<li><a href="#">Union Island</a></li>
</ul>
<ul class="text-link">
<li><a href="#">Young Island</a></li>
<li><a href="#">Tobago Cays</a></li>
</ul>
</div>
And put this code into template.css
.destinations ul {
float: left;
margin: 0 10px 0 0 !important;
width: 20%;
}
I still wonder why your /templates/ja_travel/css/template.css doesn’t work. Could you give me username+password of your ftp to check itOctober 27, 2011 at 5:07 pm #421986I made the change to the Custom HTML per your suggestion. So, now we have to <ul> tags but the second tag is not moving to the next column. The template.css file show the markup you’ve listed. How do I send you FTP credentials?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
October 27, 2011 at 5:20 pm #421988Your template isn’t changed. Do you add code into /templates/ja_travel/css/template.css
.destinations ul {
float: left;
margin: 0 10px 0 0 !important;
width: 20%;
}
If you do, you try clean cache by delete all of files of /cache and /t3-assess.The template.css file show the markup you’ve listed. How do I send you FTP credentials?
Now, /templates/ja_travel/css/template.css file works normally. So I don’t need your FTP credentials. Thank you.
If you want to send your information to anyone, you can send it by Private Message. -
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by khoand 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum