WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
[resolved] Custom template (4 posts)

  1. mister klucha
    Member
    Posted 1 year ago #

    i created a custom template page.

    I want to add to my text for this template, the "css text style" of a basic and standard static page of pinboard theme (i want the text style of the main page, not the title).
    What class do i must use ( div class="??????") ?

    I searched in the css of the theme but i didn't find.
    Hope i'm clear

  2. paul.a.cunn
    Member
    Posted 1 year ago #

    The class that the pinboard theme uses appears to be class="entry-content" for pages and class="entry-summary" for posts. If you make the class of the divs one of those it should point to the correct styling.

  3. mister klucha
    Member
    Posted 1 year ago #

    it works fine indeed.

    I have a margin and padding problem now !
    I set a div with margin and padding directly in the php file. But if you know in the css file where is margin and padding for title and content of page (static page), it's welcome.

    Thanks for help

  4. paul.a.cunn
    Member
    Posted 1 year ago #

    Not sure what you need here but the class "entry" is the container surrounding all the content including the title, this has both padding and a margin. The title itself has a class of "entry-title" again you should be able to change the css for these classes if you need to.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic