How can I add custom style ? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: How can I add custom style ? (/showthread.php?tid=1243) |
How can I add custom style ? - gimx - 2011-01-14 Hello, I want use GS for my next website. I have made the HTML/CSS template. It's very simple and the "basic" editor is enough. But I want use one class of my css and add it in the dropdown menu in the editor. I just need add a span around the text whith this style : Code: <span class="my-class-in-css-file">Text</span> I have read ckeditor wiki but I don't understand... Can you explain me in "detail" please ? Thanks How can I add custom style ? - Oleg06 - 2011-01-14 in line 50 zegnat-multilevelnavigation.php Code: echo '<li'.("$link->slug"==$a?' class="active"':($isActiveParent?' class="parent"':'')).'><a href="'.$link->url.'">'.$link->menu.'</a>'; Code: echo '<li'.("$link->slug"==$a?' class="active"':($isActiveParent?' class="parent"':'')).'><a href="'.$link->url.'"><span class="my-class-in-css-file">'.$link->menu.'</span></a>'; Code: echo '<li'.("$link->slug"==$a?' class="active"':'').'><a href="'.$link->url.'">'.$link->menu.'</a></li>'; Code: echo '<li'.("$link->slug"==$a?' class="active"':'').'><a href="'.$link->url.'"><span class="my-class-in-css-file">'.$link->menu.'</span></a></li>'; How can I add custom style ? - gimx - 2011-01-14 Thanks Oleg. I find "better" solution. I modify the source and that's all. It's only 2 span to add so... I choose this solution for not break GS |