Bek
asked 10 years ago

Hello. 

I have 2 questions: 
1) How to add tags to main categories as a subcategory?
Like this: http://grab.by/tI5W
2) How to change link colour on single article? Like this: http://grab.by/tI6o 
I only want to change link colours on single article page. Everywhere else leave black. 
Default colour is black, but it can’t be clearly seen within text, because text is also almost black. 

Thanks. 

2 Answers
DominicStaff
answered 10 years ago

Hi Bek !

1. To add tags to main categories as a subcategory, please do as the following.
– You can log in to Dashboard > Tags > Add new.
See the screenshot:

– Move through Categories > Add new.
See the screenshot:

– After adding the categories & Tags, You can open the Menu > in the Categories & tags section in the left hand, please select the tags & categories, click the Add to Menu button.
See the screenshot:

Notice: The WordPress menu editor allows you to create multi-level menus using a simple ‘drag and drop’ interface. Drag menu items up or down to change their order of appearance in the menu. Drag menu items left or right in order to create sub-levels within your menu.
To make one menu item a subordinate of another, you need to position the ‘child’ underneath its ‘parent’ and then drag it slightly to the right.

    Position the mouse over the ‘child’ menu item.
    Whilst holding the left mouse button, drag it to the right.
    Release the mouse button.
    Repeat these steps for each sub-menu item.
    Click the Save Menu button in the Menu Editor to save your changes.

– After finishing please select the Secondary Menu in the “Menu Settings” sections.
See the screenshot:

2. To change link color on the single posts, You can log in to Dashboard > Theme > Custom Code, add the following code to the DW Header script.

 <style>
.single-post .entry-content a {
    color: #....;
}
</style>

Hope this helps !

Bek
replied 10 years ago

Hello Dominic,
Thank you so much for this detailed answer.
I did solve first question thanks to your help.

But second one about link colour is not working.
Here is what i did: http://grab.by/tKr0
I also tried without color code, like you showed.
Am i doing sth wrong?

Dominic Staff
replied 10 years ago

Please send me your site for further checking.

Bek
replied 10 years ago

designread.co

DominicStaff
answered 10 years ago

Hi Bek !
You can add the following code to the “Header script”

<style>
.single-post .entry-content a {
    color: #f5564c;
}
.single-post .entry-content a:hover {
    color: #....;
}
</style>

If you still face the issue, You can send me username & password your site (via private answer). We will help resolve this issue.
Hope this helps !

Powered by DW Question & Answer Pro