Liquid and css

Hello world

Anyone know if it is possible to add tags of liquids in the css files? Background i.e.: {url: {{some tag liquid};.} "Shopify" offers this possibility. All liquid files with the extension of .liquid are processed on the server.

Thank you.

Best regards, Carla@home

Liquid is processed only if it is on a page/template/layout

or on a support/include content used on a page/template/layout

Use it in the head or use an inclusion in a file with the tag

Tags: Business Catalyst

Similar Questions

  • Liquid and ice

    We just found out that if it is liquid anywhere on the page, you cannot allow clients to modify the content of the page using ice. Apparently, you must also disable the new Admin editor Beta settings so that customers to edit the content of the page via Site Manager. At least the way we use liquid for includes to load the main content, etc., the customer is obliged in HTML view when they review the content of a page UNLESS the new Admin Editor is disabled.

    Liquid is so incredibly powerful, but if we can not use liquid without interaction with the customer break with the site - we cannot really use liquid.

    There is a page in the docs that details this limitation: How to add or change the content of your Web site

    -For header information that goes into the model, there should be no reason or need to do anything in this regard in the page, and what SEO BC areas on auto insert default pages in the head.

    -For image exchange for device etc - it's completely unmanageable for a client but does not appear, ask a client not to do any content they want or they must learn a code who don't. Well optimized images, script loading technical and CSS can achieve really well optimized images. I tell you how to do your job, just that we do otherwise and still not very good in these looks.

    -I understand very well the benefits of ice for several of our simpler sites etc., I understand, I've never been a fan and never got it to work well on medium and large sites. You just need to understand that they are both ends of the stick and you try to bend the stick in order to affect the extremities. I'm not saying BC not will bring improvements to the ice over time, I'm sure they will be. But you need to know that it will be limited, it does not cover everything. It is not easy that your indicating the renderer on modules etc renders and passes through the liquid their after - there is much more than that.

    With that in mind, I still believe that if you do not have a large part in the liquid, keep things updated layout and models you can always use ICE in the projects, I've seen a few other partners do, they run into some issues, but they don't understand that if you want more complexity that you will pass away Ice.

  • Firefox 38.0.1 get up errors in the console with JS and CSS htaccess enabled compression

    Hello

    I worked on improving the performance on my Wordpress site, one of the things I've done, I switched to a dynamic delivery of CSS and JS files (so they are compressed by PHP), which has worked very well for the performance tests.

    Now, I ALSO added it to the .htaccess in my JS and CSS (wp - TTC) file on a wordpress site:

    <filesMatch "\.(js|css)$">
    Header set Content-Encoding x-deflate
    # Header set Content-Encoding compress
    # Header set Content-Encoding x-gzip
    </filesMatch>

    to compress JS and CSS files. It works fine on IE, CSS, Android and speed, but the wrong tests, is that the site seems broken in Firefox 38.0.1, it can not load my menus and revolution Slider (image carousel).

    main error seems to be jQuery is not defined...

    Here's a montage that shows thedl.dropboxusercontent.com/u/28979877/FirefoxErrorsCollage.png errors...https://

    is there anything else that I could change in this .htaccess syntax that make each happy browser?

    any thoughts?

    Thank you very much
    Gabrio

    Hello

    I have disabled the function of .htaccess for now...

    We discovered (with assistance from Frank Autoptimize, I can TOTALLY recommend also, it's great!) said that he could not work because that makes the output is compressed, but not actually... compression. If firefox is right, others wrong.

    This should be used, IF the server supports it (ours is not because it is just shared):

    < IfModule mod_deflate.c >

            <FilesMatch "\.(js|css)$">
            SetOutputFilter DEFLATE
        </FilesMatch>
    </IfModule>
    

    so for now, I removed the .htaccess to compress JS and CSS files and FF is happy now.

    Thank you
    Gabrio

  • We write plain HTML5, JavaScript and CSS in the development of webworks BB 10.

    Hi all

    We write plain HTML5, JavaScript and CSS in the development of webworks BB 10.

    Thank you all

    Yes.

    Here is an example of an application named BrickBreaker which was written entirely in HTML5, JavaScript and CSS.  It can be pacakged in BlackBerry 10 application using SDK WebWorks:

    https://github.com/BlackBerry/BB10-WebWorks-community-samples/tree/master/BrickBreaker

  • Html and css site design

    Hello

    Does anyone have a nice easy way to create widget BB pages in a normal browser before moving a Widget? I'm going nuts making a tweak, debugging of pressing, in expectation of the build to succeed, checking my widget, tweaking some css more etc etc.

    I'm sure I saw an article somewhere on how to do it outside of the Simulator, but I'll be damned if I can find it again

    any help much appreciated

    see you soon

    Lee

    The easiest way that I do is the following:

    (1) put my source of the widget on a shared folder on a web server

    (2) set my config.xml file to have its starting point to the page on my web page server

    (3) whitelist the domain where my source of the widget is on my web server

    (4) adds a Menu item "Refresh" in a common *.js file do a refresh of the standard browser

    (5) to build and run the widget in the Simulator

    So I can make all the settings in HTML and CSS I love and you simply press the element menu to update in the Simulator.

    The only time wherever I need to re - build, it's if I modify a config.xml file.  Then when I'm satisfied, I simply change my config.xml file to package resources locally and make a final test.

  • Notification of validation of GTIN display required for the status of the specification and CSS publication

    Hello

    I develop a requirement through c# .net, display of the notification which are double GTIN number, the status of number, spec Spec and publication status of CSS.

    I'm already view the double number GTIN, Spec name and specification number. But I don't get notification for Spec and CSS published State.

    I tried c# .net with SQL queries, but does not work in the PLM application

    Please, give me suggestion. What could be a problem, see below mentioned queries SQL.

    private string sql = @ "SELECT specname.name, s.SpecNumber, t3.status, t5.caption gsmBaseTradeSpec t1.

    INNER JOIN t2 ON t1.pkid = t2.fkSpecID gsmProductIdentification

    s inner join SpecSummary on t1.pkid = s.SpecID

    inner join SpecSummaryName on specname.fkSpecsummary = s.PKID and specname.langid = '0' specname

    INNER JOIN t3 ON s.SpecStatusID = t3.pkid commonWorkflowStatus

    csstradeitempublication t4 on s.specid = t4.fktradeitem inner join

    cssworkflowstatuses t5 on t4.fkworkflowstatus = t5.pkid inner join

    where t1.pkid <>'{0}' and t2. GtinUpcNumber = '{1} "";

    Thank you

    Floquet

    Please check your sql, you can run on your database to check if all returned records.

    You can try to use LEFT JOIN for some tables instead.

    SELECT COALESCE(specname.name, ' '), s.SpecNumber, COALESCE(t3.status, ' '), COALESCE(t5.caption, ' ')  FROM gsmBaseTradeSpec t1
    INNER JOIN gsmProductIdentification t2 ON t1.pkid = t2.fkSpecID
    inner join SpecSummary s on t1.pkid = s.SpecID
    left join SpecSummaryName specname on specname.fkSpecsummary = s.PKID and specname.langid = '0'
    LEFT JOIN commonWorkflowStatus t3 ON s.SpecStatusID = t3.pkid and t3.langID = 0
    left join csstradeitempublication t4 on s.specid = t4.fktradeitem
    left join cssworkflowstatuses t5 on t4.fkworkflowstatus = t5.pkid and t5.langID = 0
    where ...
    
  • Squarespace user. Want more options on my site. Adobe has tutorials on Java Script, HTML, and CSS? [was: new user Question!]

    Hello!

    I am a new user to adobe creative cloud. I'm a Web site manager for pge production broadcast in my school and I use squarespace but I want to upgrade and have more opportunities with my websites. Adobe has tutorials on Java Script, HTML, and CSS?

    Not in the way, I think you mean. There are a number of very generous gurus on this forum that will help hard problem solve you your code, and the best way to learn is always, spoil, figure it out and move on to the next thing. :-)

    Googling a question will generally help to guide you on the right track and you can always visit W3 Schools or Code Academy for free tutorials or check if there is a Free Code Camp in your area. Sources for tutorials or classes are Lynda.com, Noble of officeand the General Assembly.

    Chris

  • plugin JavaScript and css file does not load in Apex 5.0 in certain circumstances

    Hello

    I have a strange problem. I've migrated a 4.2 application and its plugins to version 5.0.

    On my test server that everything works perfectly, plugins properly load css and javascript libraries.

    On the server to the client, even if the configuration is identical (Oracle 11 g, ADR 3.0, Glassfish), any plugin loading fails and triggers an error like:

    http://W2k3-Theos-t-AP/ords/i3std/r/2105/files/plugin/32865463423023705/v1/Select2.CSS

    Method: GET

    Status: 404 not found

    Currently the Plugin files (javascript and css) are stored in Oracle. Does it mean that I have muss stores as static files?

    Thanks for help

    Frédéric

    Kiran,

    Unlock APEX_LISTENER and APEX_REST_PUBLIC_USER and everything works perfectly.

    Thanks to Peter and Kiran, Apex is an excellent product thanks to its fantastic team

    Best regards

    Frédéric

  • HTML and CSS best practices for Eloqua?

    Hello Topliners community,

    My name is Ben and I am a Web Designer. Currently looking for guidance on best practices in HTML and CSS when you work with Eloqua. I am interested in best practices for email and landing pages.

    Thank you

    Ben

    For landing pages, you can use a bit of HTML, CSS, and Javascript like on any other page. For example, we use the Bootstrap on a couple of our Eloqua landing pages.

    Support for HTML and CSS is much more limited. It is one of the best resources I've seen for CSS support:

    http://www.campaignmonitor.com/CSS/

  • software standard in the industry for HTML and CSS

    Hello

    I'm curious to know if Adobe Dreamweaver is the industry standard, used software in the industry. I understand that many developers prefer to use HTML editors, but is it true for web designers too?

    Are publishers of text or html (apart from Dreamweaver) used in higher education, as well to teach students, HTML and CSS? If that's true, then I wonder if creating delicate design will not become more complicated if it is rested solely on coding, when we have available Bootstrap. Please let me know your point of view.

    Thank you

    I'm curious to know if Adobe Dreamweaver is the industry standard, used software in the industry. I understand that many developers prefer to use HTML editors, but is it true for web designers too?

    A word processor (such as Notepad) is the standard, all other applications, including Dreamweaver, add modules to facilitate faster processing of industry. In Dreamweaver, these modules are primarily for HTML, CSS, JS, and PHP. Other processors may include the likes of ASP.NET or ColdFusion. Next to word processing, Dreamweaver also has a module that manages the FTP. Some developers can use a number of processors as media alongside Dreamweaver.

    Are publishers of text or html (apart from Dreamweaver) used in higher education, as well to teach students, HTML and CSS? If that's true, then I wonder if creating delicate design will not become more complicated if it is rested solely on coding, when we have available Bootstrap. Please let me know your point of view.

    As far as I know, Dreamweaver is the unique integrated development program which is used to teach the subject.

    Bootstrap is one of many front end development infrastructure and should not be included in deciding to use the processor. The fact that it is included in Dreamweaver does not mean that it should be used, it is simply more convenient to use when using Dreamweaver.

  • Scripts and css

    What is the best way to declare my scripts and css?

    Add a link to external JS files, as shown below.  Exactly where in the document depends on what it is used for.   In general, I keep my script libraries and function codes at the bottom of my document, just above the closing tag, while it loads after all the rest.

    CSS links go to the top of your document, on the inside of thetag.

    https://cdnjs.cloudflare.com/AJAX/libs/Twitter-bootstrap/3.3.5/CSS/bootstrap.min.CSS">

    Nancy O.

  • I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see all at the same time, of

    Hello

    My name is Ellie and I am new to Dreamweaver.

    I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see everything at the same time, design, HTML and CSS?

    Thank you

    It ends up something like that...

  • I downloaded a free trial of Adobe Creative cloud and dreamweaver CC. I am not able to download a .psd to see how to extract the HTML and CSS.

    I downloaded a free trial of Adobe Creative cloud and dreamweaver CC. I am not able to download a .psd to see how to extract the HTML and CSS.

    Download button is disabled. What is the case for a free trial?

    Hey girijamg,

    I asked that you try to open a page because snippet Panel will be disabled until there is a html page is open in DW.

    Excerpt from Panel will be ready for the job that after any html page is open in DW.

    Hope it makes sense.

    Lalita

  • How can I compress javascript and CSS files in my export of Muse?

    How can I compress javascript and CSS files in my export of Muse? When I test my Web site with website speed test in pingdom (http://tools.pingdom.com/fpt/)

    the site has a low rating in the category of the number of CSS and javascript files because there is so much of... Is there a way to reduce the number of CSS files

    that are generated?

    In addition, the code we can place in Muse to tell Javascript to load last so it won't slow down the site are there?

    Thank you

    Theresa

    Regarding your first question. There is no way to compress the code CSS or javascript in files of Muse.

    When Muse exports a site it generates the CSS code for each page. There is no way to combine code similar to a lot of pages on a site by using Muse. (it is not the same process that build you using Dreamweaver or php coding)

  • Ice, liquid and dynamic data (modules and applications) - just a suggestion

    Hello!

    It is a position of more suggestion rather than a discussion message. I'm not sure that having placed in the right area, so excuse me if I don't.

    1. I was very happy to work with liquid to display things when a user is logged on and stuff so that it was not. Until I realized that my site in full could not be editable through the ice, because I used all liquid through the site. Liquid is amazing, but it would be more surprising if it can work with ICE. Is this something BC have in mind for future versions?

    2. it would be so great that ICE would allow my clients to edit blog, products, applications, and data FAQ. I think you must have a glance, that Webflow people do with their CMS. Their CMS allows people to change static and dynamic content with an interface similar to ice BC plans to implement a similar feature in the future?

    Thanks for reading this,

    Diego.

    While BC is working better and more recent versions of ice and I'm sure will better work with the new features of British Colombia as a liquid, due to the nature of the liquid and the coding side Server with conditional statements and complex solutions, you can create - with ice you can pretty well bet that he used to be able to support what your specifically ask in all cases. Keep this in mind.

    With more capacity edit on other things - I am course will be in future versions.

Maybe you are looking for