Harga Ponsel Online Indonesia |
- A guide to styling and making Dispatch your own
- Using WP Show Posts
- Hooks – Custom Theme Elements
- Page and Post Heroes
- How to change the Custom Colors
- Style Guide
- Aside for Widgets
- A Sample Post with Comments
| A guide to styling and making Dispatch your own Posted: 21 Oct 2018 01:07 PM PDT Dispatch is a Magazine style blog for your new website. Each of its features have been designed and built using GeneratePress and WP Show Posts. As expected of a Flint Skin Site it uses Custom CSS. At over 350 lines it is recommended, but not necessary, to move the Additional CSS to a Child Theme style sheet. So lets get onto making it your own. WP Show PostsWithout WP Show Posts plugin, this Site wouldn’t exist. Another awesome product from Tom Usborne, WP Show Posts does exactly what the title says. Anywhere and everywhere in the case of Dispatch. So much so there is a dedicated page to explain its uses here. Social Icons – DesktopThe Lightweight Social Icons widget has been added to the Header Widget. It only displays on Desktop as the Widget has the Social Icons – Tablet and MobileThey are also displayed in the Slideout Navigation. Using the Slideout Widget. Social Icon ColorsColors are changed within the widget. PagebuildersCan I use a page builder with Dispatch?Yes, you can if you wish. The only rule is that you need to use the Default Template for your Pages and Posts. To create a full width blank canvas template then follow these steps:
How do I change colors?The majority of Volumes colors are controlled by the Customizer. There are some Elements that are part of Volumes features that require CSS. This article covers where to make those changes: Logo and Site IdentityDispatch does not have a logo, just the Site Title. Page Layout – Container MarginDispatch uses the Customizer > Layout > Container > Separate Containers option. The following CSS adds left and right margin to offset the padding. NavigationDispatch uses the Primary Navigation for the main menu and Secondary Navigation displays post categories.The majority of their layout and styling is controlled by the Customizer. With these exceptions: Menu underline on hoverThe animated underline is set using this CSS. Changing the color of the bar is covered here: Secondary Navigation LocationThe Secondary Nav is placed using a Hook Element as opposed to the Customizer, which is set to No Navigation. This is so the secondary navigation is dynamically placed. You will notice it doesn’t appear on the posts. It also appears below the Header Element on the front page. More information be found on that here: I want to use the Customizer to control the navigationSimply delete ( or Quick Edit > Set to Draft and Save ) the Magazine Grid header element to revert to the normal customizer controls. BlogThe majority of the Blog settings are controlled within the Customizer > Layout > Blog. Of course it wouldn’t be a Flint Skin site if some custom customization wasn’t done. These comprise of re-ordering the post meta layout and fixing the height of the featured image. To maintain a consistent style the Blog posts have been styled to match the WP Show Posts Plugin. You can read more here: https://gpsites.co/dispatch/wp-show-posts/ Single Post – Sidebar and No SidebarThe default setting ( in the Customizer ) for the single post includes the right hand sidebar. If the sidebar is removed, like it is on this post, then the content container is narrowed for easier reading. Single posts container without sidebar are resized by this CSS: Options to remove the Sidebar on a post by post basis can be done using either the disable elements module or the layout module: Page Heros – Header ElementsThe Hero Headers are built using the Elements module. Volumes Hero Headers are covered here: Magazine Grid – Front PageA custom WP Show Posts Grid displaying 5 posts. The Header Element contains just the WP Show Posts Shortcode. And requires these two Element Classes: Single PostThe single post uses template tags for dynamically displaying the Post Title, Category, Date and Author. The Post Title is set as the H1 and it uses the featured image for its background. Background Image Inset ShadowTo improve readability an inset shadow is cast on to the background image. This uses the Element Classes field. To add the shadow to a new page header just add the Archives HeaderThis simple header places the archive title above the secondary navigation. |
| Posted: 10 Oct 2018 01:41 PM PDT Adding post lists and grids to your Site couldn’t be easier than with the WP Show Posts plugin. Dispatch uses the Free version to display posts on the Front page and in the Sidebars. Of course with a little Flint Skin CSS treatment. Head off to Dashboard > WP Show Posts > All Lists. Within are six lists:
Each of them have very particular settings required to match the demo content you see here. Changing those settings may affect the way the post is displayed, and not necessarily for the better. So please work on a duplicate or make a note before changing. Note: the name of the List has no relevance to the different styles displayed. General ( and important ) informationBefore we go into the detail let’s cover some basic and very important information. Advanced SettingsFor the purpose of the demo content a couple of the Lists are using Advanced Settings. First off the Standard List is using Ascending Order (Default: Descending). Secondly the Simple List is using Offset, so it omits the first 4 posts. You may want to put these back to default if you’re not intending to replace them. Duplicating WP Show Posts ListSo we have four lists, and we want to make a new Standard list with a different category. The easiest way is to use one of the Duplicate Post plugins in the WordPress repository. Simple hey. And it works for all post types including GP Elements. Awesome. Note: When making a duplicate you are generally given two options. Clone and New Draft. I advise using the New Draft as some people have reported issues when using Clone.
List: StandardThis is the standard WP Show Post list that has the same custom styling applied to the GP Blog: A Sample Post with CommentsLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis… Aside for WidgetsSidebar Widgets are a main feature of any Magazine Blogging site. To aid with that Dispatch uses a nifty little plugin and a couple of… Style GuideHeading One H1 Heading Two H2 Heading Three H3 Heading Four H4 Heading Five H5 Heading Six H6 Font: Playfair Playfair is a transitional design…. How to change the Custom ColorsChanging Colors in Dispatch are mainly done via the Theme Customizer. Certain elements such as Page Heros are controlled within the Header Element and are… This is how the list is displayed within the Content area just by adding the WP Show Post Shortcode. Here follows the basic styling changes that have been made. Content Wrap (WPSP Only)Using a custom Hook Element the Post article content is now wrapped within a DIV container. This container carries a class of Featured ImageThe featured image has a fixed height to match the layout. This is achieved using this CSS: You can edit the height property to suit, or remove the CSS it entirely if you want to use your own sizes. Meta above titleThis is achieved using a flex box on the Entry Header. Again this applied to the GP Blog: Entry Title forced to 2 linesThe entry title always displays a minimum and maximum of 2 lines. This mantains the across row alignment. Again this is applied to GP Blog. The
List: AlignDesigned for a single column list this displays the content the image to the left and content to the right. This is subtly different to just resizing the image in the WP Show Posts list settings and aligning it left. Thanks to the Content Wrap we added (above) the content will never wrap around the image. On mobile it just stacks. To add one of these your posts requires a little markup. And is done like so: A guide to styling and making Dispatch your ownDispatch is a Magazine style blog for your new website. Each of its features have been designed and built using GeneratePress and WP Show Posts. As expected of a Flint Skin Site it uses Custom CSS. At over 350 lines it is recommended, but not necessary, to move the Additional CSS to a Child Theme… Using WP Show PostsAdding post lists and grids to your Site couldn’t be easier than with the WP Show Posts plugin. Dispatch uses the Free version to display posts on the Front page and in the Sidebars. Of course with a little Flint Skin CSS treatment. Head off to Dashboard > WP Show Posts > All Lists. Within…
Lists: SidebarIn the right had sidebar you can see the Sidebar list. This List is set to 1 column and only displays the Featured Image, Title and Category. This is designed for Widgets, a narrow column or as part of a grid (like in our next List). To add this style the Widget requires a CSS Class of: Dispatch comes with Widget Classes Plugin installed. This provides this function.
List: HeaderThe Header list as seen on the Front Page requires a list containing only 5 posts. And can accomodate most of the content elements. Which are only displayed on the large leader post. To add this style the Header Element requires the following element classes: List: SimpleThis is output using the
List: Simple SidebarNothing fancy here, just a list being output using the a Widget in the sidebar.
|
| Posted: 21 Sep 2018 11:21 AM PDT Dispatch uses a few Hook Elements to create some Custom Elements in the site. For more info on the Hooke Element read here: Custom Post NavigationAdding a custom featured image post navigation at the foot of all posts. |
| Posted: 21 Sep 2018 10:48 AM PDT Page Heroes are those big bold images and headlines you find at the top of your posts and pages. They sit just below the Site Header and added using the Header Element module, when activated provides the Elements menu in Dashboard > Appearance > Elements Dispatch has two Header Elements in place. But you can add as many as you need. Magazine Grid – Home PageCombined with the WP Show Posts plugin this header creates a 5 post card grid. Very few settings are required. These are the main points: Hero Content: WP Show Posts Short code The shortcode required is found in the WP Show Posts list you created. More detail on creating these special lists can be found here. Single PostTemplate Tags: {{post_title}} Creating new Header ElementsCreating a new Header Element is as easy as creating a new post. This article explains how to: Display RulesDisplay Rules are used to determine where a Header Element is displayed. Here are some pointers: Front PageWhen you select a blog or a static page in Dashboard > Settings > Reading as your Front Page. You must specifically apply that as a Display Rule for it to display. Display the Dispatch Header Elements on other pagesSimply edit the Header Element and add additional Display Rules. Rule ConflictsWhen creating multiple Elements, it is possible to create ones where the Display Rules conflict. For example: First Element Display Rule = All Posts In this instance the First Element wins and that specific post looks like the rest of them. Its a case of the first element that was registered wins. To get round this you must use the Exclude option in the First Element so it doesn’t apply to the specific post. Copy an existing Header ElementSo you think these Header Elements are awesome. But you want to add your own versions to some other posts, and there is not duplicate feature. Well just add one of the Duplicate Post plugins found on wordpress.org and your in business. |
| How to change the Custom Colors Posted: 21 Sep 2018 09:50 AM PDT Changing Colors in Dispatch are mainly done via the Theme Customizer. Certain elements such as Page Heros are controlled within the Header Element and are covered in that article. There are a few colors that are controlled by CSS. The rules for them are found in the Customizer > Additional CSS: Primary NavigationHairline Border above desktop navigation .main-navigation .inside-navigation { border-top: 0.5px solid #d4d7d8; } Menu item underline on hover .main-navigation ul li:after { background-color: #000; } Navigation Search .navigation-search.nav-search-active { background-color: rgba(255,255,255,0.95); top: 100%; } ButtonsAll of the colors are controlled via the customizer. However the button border inherits the color of the font. This is set by this CSS: button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background) { pointer-events: initial !important; border-color: inherit; border: 1px solid; } WP Show Posts – Card StyleEntry Title, Summary and Meta text color .wpsp-card, .wpsp-card a, .wpsp-card .wp-show-posts-meta a, .wpsp-card .wp-show-posts-meta a:visited { color: #fff; } Gradient overlayTo improve contrast of text a subtle gradient overlay is applied to the cards content wrapper. .wpsp-card .wpsp-content-wrap { position: absolute; bottom: 0; left: 0; right: 0; padding: 5% 8%; -webkit-box-sizing: border-box; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.35); background: -webkit-gradient(linear, left bottom, left top, color-stop(80%, rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0))); background: linear-gradient(0deg, rgba(80, 50, 50, 0.5) 30%, rgba(0, 0, 0, 0) 100%); pointer-events: none; } Custom Featured Image Post Navigation Next/Previous .post-nav { padding: 6px 12px; border-radius: 3px; font-size: 0.7em; text-transform: uppercase; background-color: #ff1956; color: #fff !important; } |
| Posted: 21 Sep 2018 09:16 AM PDT Heading One H1Heading Two H2Heading Three H3Heading Four H4Heading Five H5Heading Six H6Font: PlayfairPlayfair is a transitional design. In the European Enlightenment in the late 18th century, broad nib quills were replaced by pointed steel pens as the popular writing tool of the day. Together with developments in printing technology, ink, and paper making, it became to print letterforms of high contrast and delicate hairlines that were increasingly detached from the written letterforms. This design lends itself to this period, and while it is not a revival of any particular design, it takes influence from the designs of John Baskerville and from 'Scotch Roman' designs. Being a Display (large size) design in the transitional genre, functionally and stylistically it can accompany Georgia for body text. Color Plan#ff1956 #fbfbfb #f4f6f7 #3a3a3c
|
| Posted: 19 Sep 2018 05:32 PM PDT Sidebar Widgets are a main feature of any Magazine Blogging site. To aid with that Dispatch uses a nifty little plugin and a couple of custom CSS classes to make styling your sidebar a breeze. Widget CSS ClassesUsing the namesake plugin you can now add CSS Classes to Widgets. Simple. Dispatch Widget ClassesCSS Class: CSS Class: CSS Class: Adding your own classesWant different color background for your widgets. Heres how to. Add you Custom Class Name to your widget. In this example we’ll go for a red color and name our class |
| Posted: 21 Aug 2018 05:00 PM PDT Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa a link to know where qui officia deserunt mollit anim id est laborum. a link to know where Lorem ipsum dolor sit amet, consectetur adipiscing elit, style sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Great typography and bold imagery speak volumes about quintessential topicsLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia a link to know where deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. a link to know where Great typography and bold imagery speak volumes about quintessential topicsLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
| You are subscribed to email updates from Harga Ponsel Online Indonesia. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States | |






Tidak ada komentar:
Posting Komentar