How to create a Page node

How to create a Page node

Can anyone help me with how would I make it so I can use the XF style color variables (@contentText etc) to color my page so that it would match each style?

:)
 
I have a page of images that link to other pages, and I want to add a border around each. But it's only working if I use a hex code and not if I use @contentText as I would in the templates.

link

:)
 
Add your classes to EXTRA.css or your own custom css template.

Then build the page using the classes.

That's how all of my pages are constructed and it works fine.
 
You need to edit the pagenode and pagenode.css templates.

For pagenode move <div id="pageNodeContent"> to just above <xen:hook name="pagenode_container_article">

For pagenode.css replace the contents with this:
Code:
#pageNodeContent
{
    overflow: hidden; zoom: 1;
    padding: 10px 0;
}

    #pageNodeContent .bottomContent
    {
        clear: both;
        overflow: hidden; zoom: 1;
        margin-top: 10px;
    }

    #pageNodeContent .pageCounter
    {
        margin-top: 10px;
        float: right;
        font-size: 11px;
    }

        #pageNodeContent .pageCounter dd
        {
            font-weight: normal;
        }

/* ------------------- */

#pageNodeNavigation
{
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 11px;

    padding: 5px;
    border: 1px solid @primaryLighterStill;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0, 0.2);
}

    #pageNodeNavigation li
    {
        _display: inline; /* whitespace bug */
    }

/* ------------------- */

.pageStats dt
{
    margin-left: 1em;
}
 
Erm.... I don't know mate, I tried using the class example you gave in the op with the traditional list bbcide, that didn't work. Then I took that code out and just put the html in.
 
Have you a custom stlye?
Does it work in the original style?

Are you tring to stop normal cigarets or something different, because you're a cold turkey:P ?:D
Doesn't work in either the custom or default style, I'm guessing in my cold turkey phase I'm overlooking something. Just normal cigarettes for now dude :D
The code I posted above works fine for me.

Here's what I'm using.


<div class=”baseHtml”>
<ul>
<li>content</li>
<li>content</li>
<li>content</li>
<li>content</li>
<li>content</li>
</ul>
</div>
 
Could be.
Which editor are you using?

For simple stuff like this, I would recommend Notepad++.
 
Top Bottom