× We encourage everyone to subscribe to this category to receive important news about new releases, etc. by email

DecoNetwork 7.507 is released

9 months 1 week 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.

9 months 1 week 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.

9 months 1 week 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.

9 months 1 week 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.

9 months 1 week ago #17938 by DigiTees
Doesn't appear to be working....

Please Log in or Create an account to join the conversation.

9 months 1 week 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.

Time to create page: 0.105 seconds
Powered by Kunena Forum