1. Journal you are trying to modify:
summerslaughter 2. Account Level: paid
3. What are you trying to accomplish?
I made a theme layer & combined it with my user layer, but when I try to use it as a custom style it screws up my header.
Like this.
Figured it out!
(
the code )
Comments 5
I'm not sure it is the best code but here's a simple way to do it using CSS:
.tags {
visibility: hidden !important;
}
.tags a {
visibility: visible !important;
}
Reply
Reply
function _taglist(int max, int multiplier) {
var Page p = get_page();
var TagDetail[] total_tags = $p->visible_tag_list();
var int most_count = 1;
var TagDetail[] tags;
var int tcount = 0;
var string[] links = [];
var int[][] graph;
var int skipped = 0;
if (size $total_tags > $max) {
var int toskip = size $total_tags - $max;
foreach var TagDetail tag ($total_tags) {
$graph[$tag.use_count][size $graph[$tag.use_count]] = $tcount;
$tcount++;
}
var int T1c = 0;
foreach var int[] T1 ($graph) {
if ($T1) {
var int[] newT1;
if (size $T1 <= $toskip ( ... )
Reply
Reply
(The comment has been removed)
If you add the following code to your user layer, it will reset the theme to Deep Ocean and that fixed the header problem for me.
set active_theme = "x2";
set theme_css = "x-2-1.css";
Every time you change something in your CSS or your custom layer you'll need to make sure that code is in your user layer.
Reply
Leave a comment