- This topic has 1 reply, 2 voices, and was last updated 9 years, 6 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Does anyone know how I would add a border to the content area of a custom post type ONLY? I need to add a light grey 2px border to the outer edge of the content area, exactly like this forum. But I only want this border to appear on the single and archive pages of a custom post type?
Do I need to register two new templates (custom_page_archive.php and custom_single.php) to use for my custom post type and style them? or is there an easier way of doing it?
© 2024 WPEngine, Inc.