I'm having a tough time seeing which CSS selectors to change with Developer Tools (Chrome or Firebug). I read this Tip posted in the Iron and Flannel Ready Theme forum on how to modify code in Head Tag Content to see which css file to view.
I'm experimenting with Levels Ready Theme and it's a little different than the example for Iron and Flannel. I understand almost everything but need a little help with specifics.
ON YOUR DEV SITE: Open your HEAD Tag Content template and locate:
Code:
<link href="../css/css.php" rel="stylesheet">
Replace with...Code:
<mvt:if expr="'dev.' IN tolower(g.domain:name)">
<link href="../css/normalize.css" rel="stylesheet">
<link href="../css/base.css" rel="stylesheet">
<link href="../css/scaffolding.css" rel="stylesheet">
<link href="../css/typography.css" rel="stylesheet">
<link href="../css/buttons.css" rel="stylesheet">
<link href="../css/fonts.css" rel="stylesheet">
<link href="../css/forms.css" rel="stylesheet">
<link href="../css/tables.css" rel="stylesheet">
<link href="../css/colors.css" rel="stylesheet">
<link href="../css/slider.css" rel="stylesheet">
<link href="../css/magnific-popup.css" rel="stylesheet">
<link href="../css/helpers.css" rel="stylesheet">
<link href="../css/structure.css" rel="stylesheet">
<link href="../css/pages.css" rel="stylesheet">
<link href="../css/print.css" rel="stylesheet">
<mvt:else>
<link href="../css/css.php" rel="stylesheet">
</mvt:if>
Code:
<link href="../css/css.php" rel="stylesheet">
Replace with...Code:
<mvt:if expr="'dev.' IN tolower(g.domain:name)">
<link href="../css/normalize.css" rel="stylesheet">
<link href="../css/base.css" rel="stylesheet">
<link href="../css/scaffolding.css" rel="stylesheet">
<link href="../css/typography.css" rel="stylesheet">
<link href="../css/buttons.css" rel="stylesheet">
<link href="../css/fonts.css" rel="stylesheet">
<link href="../css/forms.css" rel="stylesheet">
<link href="../css/tables.css" rel="stylesheet">
<link href="../css/colors.css" rel="stylesheet">
<link href="../css/slider.css" rel="stylesheet">
<link href="../css/magnific-popup.css" rel="stylesheet">
<link href="../css/helpers.css" rel="stylesheet">
<link href="../css/structure.css" rel="stylesheet">
<link href="../css/pages.css" rel="stylesheet">
<link href="../css/print.css" rel="stylesheet">
<mvt:else>
<link href="../css/css.php" rel="stylesheet">
</mvt:if>
- The code in Levels Ready Theme that I believe should be replaced is <link rel="stylesheet" href="&mvte:global:theme_path;/css/all.php"><link href="../css/css.php" rel="stylesheet">
- There's a little note at the end of the post that says:If your dev site's domain starts with something other than 'dev.', change the pasted code accordingly. Now, when you right click on an element to inspect, you actually get to SEE the CSS file the selector it relates too.
Comment