Announcement

Collapse
No announcement yet.

How Do I Start 2 Use Style Sheets?

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

    How Do I Start 2 Use Style Sheets?

    I have just got Actinic 6 Business, and would like to add a sytle sheet which willl allow me to create a background which wont be repeated.

    I beleive Actinic doesn't like Dreamweaver MX, but I did try setting up the style sheet there first to check it would work and then pasted the html code into Actinic (along with css etc) This of course didn't work.

    Please can someone point me in the right direction?

    Thanks

    #2
    Actinic does work quite happily with DW MX.....

    As for the background issue why don't you add the css code to the actinic.css file. Then you don't need 2 style sheets. Assuming you are using a theme which uses CSS

    Comment


      #3
      Style sheet problems

      I have added my background style sheet in Dreamweaver MX and when previewed It works how I want. But when I view it in Actinic, I can't see my background.

      I tried as you suggested and added the code which is in my style sheet are looks like:

      .back {
      background-image: url(films.jpg);
      background-repeat: no-repeat;
      background-position: left top;
      background-color: #000000;

      }


      To the botton of the actinic sytle sheet, but this also doesn't work either. Do you have any further suggestions please?

      Thanks

      Comment


        #4
        Copy the stylesheet to the preview html folder
        Owner of a broken heart

        Comment


          #5
          thisis where theactinic stle sheet sets background etc

          body{
          background-color:NETQUOTEVAR:BGCOLORCSS;
          background-image:url(NETQUOTEVAR:BGIMAGECSS);
          margin-top:0px;
          margin-right:0px;
          margin-bottom:0px;
          margin-left:0px;

          }

          edit thisyour actinic.css to mirror this....use the netquoteVars or replace with your values


          body{
          background-color:NETQUOTEVAR:BGCOLORCSS;
          background-image:url(NETQUOTEVAR:BGIMAGECSS);
          background-repeat: no-repeat;
          background-position: left top;
          margin-top:0px;
          margin-right:0px;
          margin-bottom:0px;
          margin-left:0px;
          }

          Comment


            #6
            I'm sorry but I've tried various things but can't get it to work!

            I've opened the actinic.css and selected edit. found the code as you have pointed out. However I don't know what I should be adding to make my image appear.

            Does the following line need to be changed to my css or image (I presume my image if I'm only calling one css file)?

            background-image:url(site1/films.jpeg);
            background-image:films.jpeg;

            The image I want to use as my background is called films.jpg.Could you please show me an example of what you would do if you had such as image and wanted it as a non repeating background image on all your pages?

            Thank you for your time.

            Comment


              #7
              I have given you the code exactly as you need it

              background-color:NETQUOTEVAR:BGCOLORCSS;

              if you want a background colour the CSS will use the volour set in Design|options|shopdefaults


              background-image:url(NETQUOTEVAR:BGIMAGECSS);

              the same there, your background image is the one set in Design|options|shopdefaults


              background-repeat: no-repeat;

              this line says no repeat ie display the backgrounfd image once

              background-position: left top;

              This line tells the CSS to anchor the image to the top and left of the screen

              Comment


                #8
                Nope! I don't know what I'm doing wrong, but it isn't working when I preview the site.

                I'm sure you've had enough of dealing with this, and it looks like I may have to either create a ridiculously large background image so that it doesn't repeat, or not bother.

                If on the off chance you may want to see the actinic.css code as it is, I have pasted it below. Otherwise thank you for trying to help.



                /*cope with inheritance bugs*/
                body, table, th, td{
                color:NETQUOTEVAR:FGCOLORCSS;
                font-size:x-small;
                font-family:CUSTOMVAR:ACTCSSFONTFAMILY;
                }

                /*body specific*/
                body{
                background-color:NETQUOTEVAR:BGCOLORCSS;
                background-image:url(NETQUOTEVAR:BGIMAGECSS);
                background-repeat: no-repeat;
                background-position: left top;
                margin-top:0px;
                margin-right:0px;
                margin-bottom:0px;
                margin-left:0px;
                }

                a:link{
                color:NETQUOTEVAR:LINKCOLORCSS;
                font-size:x-small;
                text-decoration:none;
                }

                a:visited{
                color:NETQUOTEVAR:VLINKCOLORCSS;
                font-size:x-small;
                text-decoration:none;
                }

                a:hover{
                color:NETQUOTEVAR:HLINKCOLORCSS;
                font-size:x-small;
                text-decoration:none;
                }

                a:active{
                color:NETQUOTEVAR:ALINKCOLORCSS;
                font-size:x-small;
                text-decoration:none;
                }

                li{
                color:NETQUOTEVAR:FGCOLORCSS;
                list-style-type:square;
                }

                ol{
                color:NETQUOTEVAR:FGCOLORCSS;
                }

                ul{
                color:NETQUOTEVAR:FGCOLORCSS;
                list-style-type:square;
                }

                H1, H2, H3, H4, H5, H6 {
                font-family:CUSTOMVAR:ACTCSSFONTFAMILY;
                }

                .actCHECKOUTEM {background-color:NETQUOTEVAR:CHECKOUTEMCSS;}
                .actCHECKOUTBG {background-color:NETQUOTEVAR:CHECKOUTBGCSS;}

                .actlarger{
                font-size: larger;
                color:NETQUOTEVAR:FGCOLORCSS;
                }

                .actsmaller{
                font-size: smaller;
                color:NETQUOTEVAR:FGCOLORCSS;
                }

                .actxxsmall{font-size:xx-small;color:NETQUOTEVAR:FGCOLORCSS;}
                .actxsmall{font-size:x-small;color:NETQUOTEVAR:FGCOLORCSS;}
                .actsmall{font-size:small;color:NETQUOTEVAR:FGCOLORCSS;}
                .actregular{font-size:medium;color:NETQUOTEVAR:FGCOLORCSS;}
                .actlarge{
                font-size:large;
                color:NETQUOTEVAR;


                :FGCOLORCSS;}
                .actxlarge{font-size:x-large;color:NETQUOTEVAR:FGCOLORCSS;}
                .actxxlarge{font-size:xx-large;color:NETQUOTEVAR:FGCOLORCSS;}

                .actwarningcolor{color:NETQUOTEVAR:REQUIREDCOLORCSS;}
                .actrequiredcolor{color:NETQUOTEVAR:REQUIREDCOLORCSS;}
                .actsearchhighlightcolor{color:NETQUOTEVAR:SEARCHHIGHLIGHTCOLORCSS;}
                .actrequired{color:NETQUOTEVAR:REQUIREDCOLORCSS;}
                .actwarning{color:NETQUOTEVAR:REQUIREDCOLORCSS;}
                .actwelcome{color:NETQUOTEVAR:FGCOLORCSS;}

                .actlogotext {font-family:CUSTOMVAR:ACTCSSFONTFAMILY; font-size: x-small; color: #D9090E; font-style: normal; font-weight: bold; text-align: center}
                .actlogout{font-size:x-small;color:NETQUOTEVAR:LINKCOLORCSS;}

                Comment


                  #9
                  SORRY!!!!!!!!!!!!!!!

                  It's working... I ignored the design/options/background bit because I thought this wouldn't repeat the image, but the penny has finally dropped.

                  Sorry about the last email. Thank you for helping.

                  Comment

                  Working...
                  X