Announcement

Collapse
No announcement yet.

Store Sections Spacing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Store Sections Spacing

    Hi

    I am using the smart theme and I have followed instructions in previous posts so that I only display main sections in the left hand side STORE SECTIONS box.

    Is there a way that the section links can have bigger spaces between them in this lefthand box?

    see www.legends-online.com
    Ian
    Commercial Cleaning Cambridgeshire

    #2
    If you want vertical spacing between the links you could try putting a padding style into the <a> tag in the JavaScript (probably in Act_Primary.html):

    From:

    Code:
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
    {
    if (ar[i].sURL != null)
    {
    strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="#1660e9">' + ar[i].sName + '</font></b></span></a><br>';
    }
    }
    return strIDs
    }
    //-->
    To:

    Code:
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
    {
    if (ar[i].sURL != null)
    {
    strIDs += '<a style="padding:3px 0;" href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="#1660e9">' + ar[i].sName + '</font></b></span></a><br>';
    }
    }
    return strIDs
    }
    //-->
    hth,
    Ian

    Comment


      #3
      Hi Ian

      Thanks for the code, I tried changing the script in act_primary but it made no difference,

      Any other suggestions?
      Ian
      Commercial Cleaning Cambridgeshire

      Comment


        #4
        I could not see the change in the source of
        http://www.legends-online.com/

        Did you upload it here? Did you change it back after seeing that it didn't work?

        Rgds,
        Ian

        Comment


          #5
          Hi Ian

          Yes, I changed it back after seeing it didn't work
          Ian
          Commercial Cleaning Cambridgeshire

          Comment


            #6
            Code:
            strIDs += '<a style="padding:3px 0;" href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="#1660e9">' + ar[i].sName + '</font></b></span></a><br>';
            Add another <br> next to the one thats there
            Owner of a broken heart

            Comment


              #7
              The second <br> did the trick

              thanks
              Ian
              Commercial Cleaning Cambridgeshire

              Comment

              Working...
              X