• Hi, I am struggling with how best to do my contacts.php page layout. Its a page and I want 3 columns, one showing address info, second showing many emails, and third showing a map. There will also be a 100% row below thisfor some further text. As this is a page, I can do it within the page editor, but there must be a better way to keep the layout separate. Do I use widgets with separate info in each and style those with the layout? Do I used featured posts and turn contacts page into a category? Confused, am new to wordpress. Any help appreciated, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It depends on the theme you are using. Some have a dedicated contacts page template.

    I’d recommend to create a page template, category template or archive template that is specific to the way you want contacts to look, depending on the way you are implementing your contacts. Then you can decide whether you are pulling in contacts that are posts, a custom post type or just a page but formatted differently. https://codex.www.ads-software.com/Creating_an_Archive_Index

    Alternatively, you may be able to specify the page id or post type id through your stylesheet to style that particular page differently. It all depends on how your theme was structured.

    Thread Starter maica1x

    (@maica1x)

    Thanks everyone, I stumbled on another way last night but not sure its best way. I added css styles to the TinyMCE editor, which enabled me to add columns for the text and specific designs. However, that makes it difficult for a non-techy to rewrite a section, as they may wipe out the css style. I started theme from scratch, so its not based on anything. The layout I can do, its how to do it from splitting text within one page or post that was my problem. I didn’t really want to make the contacts page a category and specify post id’s in it-which would produce my desired results. As would adding widgets. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Style sections within a page’ is closed to new replies.