WordPress.org

Support

Support » Themes and Templates » Make a page parent bold(Change the text)

Make a page parent bold(Change the text)

  • anton33

    @anton33

    I have a few parent/child pages and it would be good to be able to separate them as a visitor to the blog. Which file should i edit to make the parent page bold? I’ve been really struggling with this (simple? probably) task.

    I use theme Twenty Ten.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I guess you mean : separate them visually?

    You should edit style.css in the theme i guess.

    something like

    .page_item {font-weight: bold;}
     .page_item ul {font-weight: normal;}

    should do what you are looking for i guess.

    anton33

    @anton33

    Yep, exactly.

    That helped partly, i get the pages in bold if i click them. But i wanted only the parent pages. Any thoughts on how to fix that?

    esmi

    @esmi

    Forum Moderator

    Try:

    .page_item {font-weight: bold;}
    .page_item li {font-weight: normal;}
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make a page parent bold(Change the text)’ is closed to new replies.