Announcement

Collapse
No announcement yet.

Font color one section only

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

    Font color one section only

    Hello. I need to set the price font color in a Special Offers section to be different to that of the other sections (to be red, instead of dark blue).

    I've tried the advice from Tech Support (via 2 calls) but neither alternative worked. Suggestion 1 was to add html tags to the Price Box (permitted length is too small). Suggestion 2 was to add font tags to Act_ProductPrice.html, then to add the font tags before and after NETQUOTEVAR:PRODUCTPRICE in the Product Line template I'm using. This just changed the font color for the entire site.

    I've also tried searching for the Price option in DESIGN / TEXT, but I can't find it.

    Has anyone got an answer? Thanks,

    #2
    Did you wrap the NQV in <span>....</span> tags to isolate just that section of code?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Here's how I'd do it.

      1) Edit Act_ProductPrice.html and change

      <span class="actxsmall">

      to be

      <span class="CUSTOMVAR:PRICECLASS">

      2) Go to Advanced / Custom Properties, click the + and create a property called PRICECLASS

      3) Go to Design / Options / Site Defaults / Properties, click the + and select property PRICECLASS. Set it's value to actxsmall. If using Business uncheck Searchable and check Use as CUSTOMVAR.

      Now the site will operate exactly as before but you can now set the class to be used for the Price font on a per Product or Section basis.

      4) To set a new style edit actinic.css and add a block like

      .myxsmall{
      font-size:10px;
      color:red;
      }

      at the bottom

      5) Finally in the section(s) you want to tweak the Price font, set Property PRICECLASS to be myxsmall. If using Business uncheck Searchable and check Use as CUSTOMVAR.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Brilliant, Norman, many thanks.

        Comment

        Working...
        X