Disable / remove / change a style Cufon

I am currently working on the default product page in Business Catalyst and need to disable or change the styling for the H1 tag Cufon. When the product page is rendered, it adds the Cufon style to the header tag, but I did not understand where to edit this block of code, or where to turn it off.

Any help would be greatly appreciated.

Thank you.

Sam

Ok. So for those of you have found your way here hoping to find the solution, you're in luck! I was able to successfully remove cufon from my business catalyst site. First of all, to do this, it is unnecessary to download your entire website via FTP and use an IDE to find instances of cufon, because I did it for you

There are two files where cufon to get his evil power:

  1. /JS/jQuery.main.js
  2. /styles/all.CSS

In Business Catalyst, go to the 'Develop' tab then locate and open the folder 'js' to the file 'jquery.main.js '. Each of the following cufon comment as follows. By adding / / at the beginning of a line, you change it in a comment, so it is rendered at run time. You can also wrap multiple lines with to comment on several lines.

Examples:

initCufon();

or

/ * initCufon(); */

Assuming that you have not changed the file 'jquery.main.js' of origin in the past, here's where to look:

  • Add line 6 / / before initCufon();
  • Wrap lines 18, 19 and 20 with / * and * /-where initCufon function is defined
  • Add line 45 / / before initCufon();
  • Add line 69 / / before initCufon();
  • At the bottom of the script adds / / at the beginning of lines 438 and 440

Once you said the above lines, Cufon is effectively disabled, but the style still exists. To change the style, open the 'all.css' in the folder "styles".

  1. Place the cursor anywhere in the script of css and press "CTRL + F" on your keyboard. a line of research will appear at the top of the script.
  2. Type "cufon" (without the quotes) and press ENTER. Whenever you press on enter, it will change to the next instance found.
  3. When I changed my style, I ecapsulated each instance of cufon, I found in to remove disable it. Essentially, you could just delete them, but I like to keep the original code, just in case I need to solve the problems later.

For example:

. CUFON-active .header-Panel ul li {line-height: 24 PX ;}}

became

. Header-Panel ul li {line-height: 24 PX ;}}

or

. Header ul li a {line-height: 24 PX ;}}

I hope this helps anyone with the same problem. I would add that after I disabled Cufon in the "jquery.main.js", I had to fix my main navigation menu style.

Tags: Business Catalyst

Similar Questions

  • CSS - how to remove/change the styles for a single image?

    Hello

    In my CSS, I have the following rule which images in the div "main_text" with a border, background color and padding of the styles:

    #main_text img {}
    border: 1px solid #666;
    padding: 5px;
    background-color: #C0BEB6;
    }

    However, I have an image on a page where I want to remove this style and I can't find a way to do it.

    I tried to apply a class to the image I want to change:

    {.exclaim}
    border-style: none;
    float: left;
    margin-right: 10px;
    padding: 0px;
    }

    The rule of .exclaim appears after "img #main_text" in the style sheet.

    The float and the margin that both work, but the border and fill are retained other selector.

    I know that I could just have 2 classes and apply them as needed but finally I'm likely to have images everywhere on the site requiring the border and fill and just one that isn't.

    The site in question is here: http://www.elitejoiners-Shopfitters.co.UK/

    The page that contains the image that has no need of the border is the error page: http://www.elitejoiners-Shopfitters.co.UK/Error404.html

    Thank you

    Mick

    . Exclaim will always be inside the #main_text?

    If so, increase the 'weight' of .exclaim CSS by addressing specifically so that it outweighs #main_text img:

    change

    {.exclaim}
    border-style: none;
    float: left;
    margin-right: 10px;
    padding: 0px;
    }

    TO

    #main_text .exclaim {}
    border-style: none;
    float: left;
    margin-right: 10px;
    padding: 0px;
    }

  • How to change the style of picture frame

    I would like to know how to change the style of table on the front. For the example below, I would like to remove the covered framework of gray color.

    I could not find the table style editor.

    First option: use the table on the classic controls palette, which has no border.

    Second option-

    1. Select the painting tool.
    2. Right click on the border.
    3. With open color dialog box, click the space bar. This toggles the color picker to work on color FG, the background color, or both. It is also described at the bottom of the color picker.
    4. When the two have been selected, you can make the frame completely transparent by selecting the color of T.
  • cannot change character styles when importing text

    Hello

    I have a problem with the import of text and changing the font styles. Here's what I have:

    1. a form current livecycle with lots of text and fileds etc.

    2. a revised customer word doc

    the text I have to change appears in the grey boxes with white text (it comes in livecycle)

    the text that I copy of the word is regular black on white

    When I paste into my form it sells to black, filled it with a white (only in the new text) with the bad police.

    So I created a new style in the style catalog window. I select the new text, click on the style that I created, right click and select 'apply style' and... nothing.

    I can manually change the font and font color, but I don't see how to remove white box around this new text. More importantly, I have a lot of editing to do and if I can not change correctly the text that I have at hand type on every bit that is not normal.

    Is there a problem with the import of text in a word document? Or is there something that I am missing?

    Thank you

    Sunil

    With the help of ES4 passing

    sorted by copy all text in word doc in a basic text editor and remove all the formatting of it. I can then paste this text in LC and hey presto, change of styles works!

  • Can't disable/remove user guest - El Capitan

    I'm on a late 2013 iMac 21.5 inch El Capitan running.

    I can't disable/remove a user account called. The minus sign "-" is grayed out.

    It seems that this "guest user" account is also that stop me to upgrade to Sierra but that's another topic.

    Thanks for any input.

    I have exactly the same on all my systems regardless of the version of the OS. It's normal. This account is owned by the system, so you cannot remove it. It will affect your facility Sierra as there has been no impact on me.

  • PageNumbers: How to change the style of pagenumber?

    Normally, you change the style between letters as VII and numbers like 7 in the "layout" window by clicking on the button for "numbers". But in my iBook version 2.4.1 author is not any button like that. There are only functions for the lines, as you can see:

    What ist wrong? Can someone help me?

    Hello

    Try the iBooks author User Guide > https://help.apple.com/ibooksauthor/mac/

  • Unable to find the file userChrome.css customization of Firefox. I just installed 20.0.1 firefox browser. You want to disable/remove the navigation bar. Pls Hlp

    Unable to find the file userChrome.css customization of Firefox. I just installed 20.0.1 version of the Firefox browser.
    I want to disable/remove the navigation bar of the browser window, making the browser works like the kiosk mode.

    Help, please

    Thank you
    Vishal.

    your profile folder is a subfolder of C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\ and something like < randomstring > .default label - folder chrome with the userChrome.css file must go in this folder .default < randomstring > .

  • Talk does not: how to disable / remove languages?

    'Talk' is false.

    iPhone international settings are: English, French, and Japanese.

    However. sometimes in the Messages, for example, for reasons 'Speak' Japanese bed like Chinese...!

    And the Japanese text is clearly Japanese... (for example, it contains pure-Japanese hiragana).

    Chinese is nowhere in my settings, the text is clearly Japanese, how to 'speak' speak Chinese?

    Is there a way to disable/remove no matter what the "smart text recognition" Chinese / accessibility / talking about options?

    Go to settings > general > language and do, of course, that Japanese is higher Chinese on the list.

  • Example: Want 4500: I have Windows 10. On hp 4500 want I don't want to "print to PDF" as default. How to disable or change

    I have Windows 10. On envy, hp 4500, connected by a USB cable for my CPU, I don't want to "print to PDF" as default. How can I disable or change. Print only word documents and it is difficult to do not forget to change to print to PDF. Please if you can help me. I'm not savvy in computer science. Thank you!

    It seems that failed to print to PDF prints are a problem for other institutions. Looks like you can change a setting in printers and Scanners which determines whether Windows manages your default printer or not. Based on this image, I found that the option below is the list of available printers:

    I found this and more information here: Windows 10 Tip: disable default printer automatic management.

    Please let me know if that solves the problem or not. As previously mentioned, I will continue happily help if necessary.

    Thank you.

  • How to change the style of point of the last lot on multiplot XY graph programmatically?

    Hi all

    I have a multiplot XY Chart.  I want to change the style of the last plot point by program.  Any way to do it?  I tried and it looks like only the first property parcel is changeable by program.

    Thanks for any help.

    Anne

    ergwser wrote:

    Hi all

    I have a multiplot XY Chart.  I want to change the style of the last plot point by program.  Any way to do it?  I tried and it looks like only the first property parcel is changeable by program.

    Thanks for any help.

    Anne

    Nodes property can be resized by dragging down on them.

    resize the property node you re using and use a "Conspiracy Active" property to set the index of the plot of the plot you wan to act on.

    Also note that property nodes are running up and down, so the "active conspiracy" must be above the property where you specify the point style.

    Ben

  • How to dynamically change report style sheets in TestStand.

    How to dynamically change report style sheets in TestStand.


  • How can you change the style out of your records

    Hello

    Is there a way you can change the style or the icon off all your records

    Thank you

    Goryon

    Hello

    If you are referring to the customization of the folder that includes the display of folders, the etc folder icon change, then you can check out the link below.

    Behavior and change folder views

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-folder-views-and-behavior

    Change the thumbnail size details and file

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-thumbnail-size-and-file-details

    How to modify your folder view settings or customize a folder

    http://support.Microsoft.com/kb/812003

  • How to disable, remove or uninstall Windows Media Center of Windows 7 Home Premium more.

    How to disable, remove or uninstall Windows Media Center of Windows 7 Home Premium more.

    You can go in Panel, programs and features and functionality in Windows
    on and outside. I think you have to turn off the Media Center and Windows
    Media Player. As indicated, you will not be able to remove the bits that are
    part of the operating system.
     
    On Wednesday, May 19, 2010 14:29:23 + 0000, randy g simmons wrote:
     
    > How to disable, remove or uninstall Windows Media Center of Windows 7 Home Premium more.
     

    Barb Bowman www.digitalmediaphile.com

  • How to change the style of the text of segmentedControl

    Hi all

    Is there a way to change the style of the text in a segmented control?

    The control works perfectly but the texts are so big and I can't change the fontSize of them.

    Someone at - it already do this?

    Thank you

    Because we can not style more standard controls of waterfalls, you can do this without re - implement the entire control, at least for now.

  • Cannot change visual styles

    I suck at explaining but here goes nothing

    My laptop does not open properly and kept showing that a reading of disc error has occurred

    I decided to use the acer erecovery management to restore my default operating system but keep my files

    and now I can't change the Visual styles. Can I do something about it?

    It wasn't how it looked like before. I have Windows 7 Home basic from

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    What exactly happens when you try to change the display?

    I understand that you can not change the display of Windows classic in the base view of Windows 7. To do this, try the following steps and check if they are useful.

    Method 1:

    If you want to know how to change the style, then refer to the following steps:

    1. Right-click on the desktop screen.
    2. Click Customize.
    3. Select thec Windows classicview in options.
    4. Check if the visual style changes.

    If the issue is not resolved, try the next method.

    Method 2:

    Please check if the themes service is started.

    1. By a click of button and type Start services.msc in Start Search and press ENTER.
    2. Right-click on the themes service and select Properties.
    3. Change type to Automatic startup, and then click Start.
    4. Click OK.

    After restarting the service, check to see if you are able to change the visual style.

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

Maybe you are looking for

  • Question on the extension of the hard disc on the Satellite A200-1XO slot

    I want to know if * Satellite A200-1XO * has an extension of the hard drive slot?

  • HP Officejet Pro 8600 more - problems of duplex scanning

    Hello I recently bought a HP Officeject Pro 8600 Plus and I work from a mac 10.6.8. Whenever I scan from the charger it creates only a single document face and I can't find anywhere in the settings of the printer itself or the "scan of the computer.

  • Inspiron xps

    Y at - it an explanation of the names of current model? Inspiron xps Dimension model is still being sold?

  • PC freezes constantly

    I recently updated my XP PC to Windows 7 Enterprise. The technician did a new download. Now my computer freezes constantly and IE running really slow, office is repairing all the word and Excel docs I'm working on. I have an AMD Athlon (tm) 64 X 2 du

  • Forms, CC and CC of Capture library

    I created a form simple in Photoshop - a triangle filled - and dragged to the library panel.  This has created a new Graphic asset in my library of type PSD.I misunderstood something: CC capture if I switch to forms I expected to see here but it just