• Resolved claudeducrot

    (@claudeducrot)


    Hi,

    First, please excuse my poor English.

    I would like change the colour of the links only in the pages of my site, not the menu items, because the light grey is not very visible. I don’t find any place in the backend to do that. Also, I found where the colour of all the links are fixed, but a change there affect the menu items so it’s not good.

    Maybe, it is possible to fix the colour of the links in pages in a specific css file but I don’t know how to identify this kind of link.

    If you can help me, I would really appreciate!

    Best regards

    Claude

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Dimitrakopoulos

    (@effpandim)

    Hi @claudeducrot

    Thank you for using Ef Practical.

    Paste the following code to front end, customize->additional css

    .main-navigation a,
    .mobile-nav a {
        color: #919191;
    }
    
    .main-navigation a:hover,
    .main-navigation li:hover > a,
    .main-navigation li.current_page_item > a,
    .main-navigation li.current-menu-item > a,
    .main-navigation li.current_page_ancestor > a,
    .main-navigation li.current-menu-ancestor > a,
    .mobile-nav a:hover,
    .mobile-nav li:hover > a,
    .mobile-nav li.current_page_item > a,
    .mobile-nav li.current-menu-item > a,
    .mobile-nav li.current_page_ancestor > a,
    .mobile-nav li.current-menu-ancestor > a {
        color: #0b6baa;
    }

    In this way the colours of the menu will be as they are.
    Inform me that it works.

    Regards

    Thread Starter claudeducrot

    (@claudeducrot)

    Hi Dimitra,

    Thank you for answering,

    Probably, I didn’t explain my problem clearly, because your code has the inverse effect I desire. If I change the color in your code, for example #0ed145; in place of #919191;, the menu items are green but the links in pages and in articles remains light grey. But I would like the opposite, the menu items in their original color and the links in the pages and articles in the colour I choose, green for example.

    Hoping that is possible to code that.

    Best Regards

    Claude

    Theme Author Dimitrakopoulos

    (@effpandim)

    Hi @claudeducrot

    You should leave the code as I have already written it and sent it to you and then you have to go to customize -> design -> colors and change Primary Color and Secondary Color in the colors you want. In this way, the menu will be the same and all the links will be changed in the color you have chosen.

    Regards

    Thread Starter claudeducrot

    (@claudeducrot)

    Hi Dimitra,

    Thank you for answering; I appreciate a lot.
    It’s OK. I have now the colors I want.

    I didn’t have understood what was the use of Primary and Secondary colors.

    Best regards

    Claude

    Thread Starter claudeducrot

    (@claudeducrot)

    Resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Color of links’ is closed to new replies.