Support » Themes and Templates » Page link style

  • Hi !
    here is my blog :
    I would like to change the style of my pages link (top right) to add a vertical line near the name of the page (right or left).
    It would be like this : Page Name |
    In addition, while the mouse is on, the color of the line would change as a normal link, and the “Page Name” wouldn’t change.
    What code should it be ? (new to html).

    thanks a lot !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here’s the CSS for the pages link (in the header) {
    margin: 0px;
    padding: 0px;
    position: absolute;
    top: 20;
    left: 770px;
    width: 210px;
    font-size: 2.3em;
    font-weight: bold;
    text-align: right;
    list-style: none;
    line-height: 1.5em;
    } li {
    display: block;
    margin: 0;
    }, li a {
    padding: 10px 0px 0px 0px;
    } li a {
    color: #595441;
    } li a:hover {
    color: #69BFDE!important;
    text-decoration: none;
    } li.current_page_item a, li.current_page_item a:hover {
    color: #595441!important;
    text-decoration: none;

    In the{ I tried to add
    border-right-width: 2px; it doesn’t work
    border: 0 0 0 2px; it doesn’t work

    text-decoration: …; Text decoration works
    BUT I don’t know what to write to get a border on the right.

    Am I in the right path or totally lost ?

    What should I right ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page link style’ is closed to new replies.