Announcement

Collapse
No announcement yet.

A couple of problems

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

    A couple of problems

    On the site www.kulfikids.co.uk we have changed the size of the text on the side menu which lists all of the departments, but this has also meant that when something is added to the cart the size of the text showing number of items in cart and their value has changed too and it looks stupid as it's not too big for the box. Does anyone know how to fix this please?

    Also is there a way to add a "back to top" bnutton to the bottom of every page without having to manually insert one - there are about 500 pages now !!!

    Many thanks
    Andy

    #2
    I take it that you changed the setup of one of the font sizes in actinic.css - one solution would be to undo thos changes, then create a new class with the text size you want for the side bar and change the html to reference the new class.

    Easiest way to add a button to every page would be to code it into the footer - accessible from Design | Options - Shop Defaults. This is one of the areas where you need the Actinic HTML markers !!< >!! either side of any html code you add. The only problem would be deciding the anchor that is common to all pages so you can format the button html correctly.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      "...create a new class with the text size you want for the side bar and change the html to reference the new class."

      how would I do this please ?
      Thanks for your help
      Andy

      Comment


        #4
        In Act_BrochurePrimary.html and Act_Primary.html, you currently have this code
        Code:
        <span class="actxxsmall"><font color="#000000">' + ar[i].pChild[j].sName + '</font></span>
        open these templates and change the "actxxsmall" to "sidemenu" then save the templates. Open actinic.css with Notepad and add a new font definition like this
        Code:
        .sidemenu {font-size: xx px; }
        replace xx with the size you have specified at the moment under .actxxsmall. Then replace .actxxsmall with the original code
        Code:
        .actxxsmall{font-size:xx-small;color:NETQUOTEVAR:FGCOLORCSS;}
        and save the file.

        If you have any other variations on Act_Primary for other page layouts, you would need to edit those also to change the span tag in the javascript.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          That's great thanks for all your help

          Comment


            #6
            You may as well include the color in there as well and do away with the awful <font> tag .. using Bill's example:

            Code:
            .sidemenu {
            font-size: 10px;
            color: #000000;
            }
            note there should not be a space between the font and the units (eg: 10px) .... "px" are not the best units to be using but they are of use for setting fixed designs.

            Your main template code from above then becomes:

            Code:
            <span class="sidemenu">' + ar[i].pChild[j].sName + '</span>


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment

            Working...
            X