• Home 
  • About Us 
  • Loan 
    • Get Loan 
    • Loan Application 
  • Blog 
  • Contact Us 
Get Loan
Loading...
  1. Home
  2. Docy WordPress Theme
  3. Using Shortcodes
  4. [direction]
Updated on March 17, 2021

Docy WordPress Theme

  • Folder icon closed Folder open iconGetting Started
    • Theme Installation
    • Plugins Installation
    • Demo Import
  • Folder icon closed Folder open iconDocy Options
    • Page Options
    • Theme Settings
  • Folder icon closed Folder open iconDocumentation
    • Create Onepage Documentation
    • Footnote
    • User Feedback
    • Creating/Editing Documentation
    • How to create Changelogs
  • Folder icon closed Folder open iconBlog Part
    • TOC Layout
  • Folder icon closed Folder open iconTips
    • Updating The Theme
    • Optimize Images
    • Language Translations
    • Use the theme’s list style with Gutenberg block
    • How to create Sign in and Sign up pages
  • Folder icon closed Folder open iconUsing Shortcodes
    • [direction]
    • Conditional Content [conditional_data]
    • [terms]
  • Folder icon closed Folder open iconFAQ
    • How to Paginate a Post?
    • How to set the site’s favicon?
    • How to change the author’s avatar?
    • How to update premium plugins?
    • How to apply custom CSS code.

[direction]

Estimated reading: 1 minute 241 views

You may see some direction or steps highlighted on the theme doc demo pages as like the below screenshot.

We used the [direction] shortcode to render the design of the steps. Your shortcode could be [direction]Theme Options > Header > Top of Header > Menu Element[/direction] Use the > character as the direction separator icon. This character (>) will be replaced with an arrow-right icon by default.

You can change the icon with some custom CSS. See the code below-

.direction_step + .direction_step:before {
  content: "\35";
  font-family: eleganticons;
}

​Here the content value is the Elegant Icon​ code. You would not find the icon code directly on the Elegant Icon’s website. Inspect the icon by right-clicking on it from their website. Then navigate to the CSS ::before CSS Pseudo-elements to see the icon code. Watch the below GIF to see the process of inspection and taking of the icon code.

https://i.imgur.com/7zac94t.gif

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Leave a Comment Cancel reply

Share this Doc

[direction]

Or copy link

Clipboard Icon
CONTENTS

Powered By EazyDocs

© 2024 All Right Reserved by Mantra4money

  • Privacy Policy
  • Term of Use
Facebook Linkedin Instagram