Forum
DecoNetwork
Official DecoNetwork news and announcements
DecoNetwork 7.507 is released
DecoNetwork 7.507 is released
brenden
Topic Author
Offline
Technology Partner
Less
More
Posts: 1884
Thank you received: 573
3 years 3 months ago #17934
by brenden
OK so to make the Featured panel show first:
You'll need to add some custom HTML to your Website template HTML (Branding and Appearance > Customize Template HTML.
Two things you need to do:
1. Modify the <body> line to be:
<body onload="featuredSet();">
2. Add this snipping right BEFORE the </body> section
<script type="text/javascript">
function featuredSet() {
if (document.getElementById("category_featured")) {
jQuery('#tab_latest').removeClass("alt");
jQuery('#tab_featured').addClass("alt");
jQuery('#category_latest').removeClass("alt");
jQuery('#category_featured').addClass("alt");
}
}
</script>
This should force the panels to switch after it loads IF the panels are active.
Shout if you need any assistance!
Cheers,
Senior Product Manager
Wilcom - Sydney, Australia
Please Log in or Create an account to join the conversation.
Less
More
Posts: 598
Thank you received: 58
3 years 3 months ago #17935
by DigiTees
Thanks so much, I really appreciate your swift response and help
Please Log in or Create an account to join the conversation.
brenden
Topic Author
Offline
Technology Partner
Less
More
Posts: 1884
Thank you received: 573
3 years 3 months ago #17936
by brenden
Size chart...
Try adding this:
.size_chart img {
max-height:auto;
}
Keep in mind this will basically let the image go as big as it can fit width wise into that panel. If you want to stop a SUPER tall one loading large maybe set a value like:
.size_chart img {
max-height:500px;
}
Cheers,
Senior Product Manager
Wilcom - Sydney, Australia
Please Log in or Create an account to join the conversation.
brenden
Topic Author
Offline
Technology Partner
Less
More
Posts: 1884
Thank you received: 573
3 years 3 months ago #17937
by brenden
DigiTees wrote: Thanks so much, I really appreciate your swift response and help
Most welcome
Cheers,
Senior Product Manager
Wilcom - Sydney, Australia
Please Log in or Create an account to join the conversation.
Less
More
Posts: 598
Thank you received: 58
brenden
Topic Author
Offline
Technology Partner
Less
More
Posts: 1884
Thank you received: 573
3 years 3 months ago #17956
by brenden
Sorry try:
.size_chart img {
max-height:none;
}
Cheers,
Senior Product Manager
Wilcom - Sydney, Australia
Please Log in or Create an account to join the conversation.
Forum
DecoNetwork
Official DecoNetwork news and announcements
DecoNetwork 7.507 is released
Time to create page: 0.114 seconds