Not Solved class in Mycode not working (solved)
#1
Not Solved
Trying to make a relatively simple mycode, which will replace [header2][/header2] with <div class="test"></div> using some CSS from global.css. More info below, but what am I doing wrong here? Huh I am having to use inline css for now, which I don't really want to use if i can help it...

Regular Expression:
\[header2\](.*?)\[/header2\]

Replacement:
<div class="test">$1</div>

CSS in global.css
.test{
  font: 20px;
  border-bottom: 1px solid #000;
}
Reply
#2
Not Solved
This is working fine for me. The code is being parsed perfect.

However I'd like to let you know that font is a composite property. The way you have declared it will not work. try replacing with:

font-size: 20px;
Reply
#3
Not Solved
I think there's something wrong with my theme, then. Tried on a different theme and it worked fine. Time to go diggin!

Thanks for your help Smile Like I said, new to MyCode, so automatically assumed it was something I was doing wrong haha
Reply
#4
Not Solved
Parser has nothing to do with theme ...
Reply
#5
Not Solved
Used the wrong word-- i meant something in my templates
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)