Two portfolio items questions

Please help with 2 issues:

  1. I implemented a sidebar on my portfolio items. Now I just need to replace the current “share this project block” with this sidebar. In other words, no sharing, just the sidebar, in the same position.

  2. How can I delete the word “Image” from the photo hat appears on hover?

Thank you!

Hello Cindy,

Thanks for writing in!

Please add following CSS under X > Theme Options > CSS:

.x-share-options p {
    display: none;
}

Please use following CSS under X > Theme Options > CSS:

a.entry-thumb:hover:before {
   content: none;
   display: none;
}

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar: https://www.youtube.com/watch?v=wcFnnxfA70g

2- For the CSS code itself, I suggest that you get started with this tutorial: https://www.youtube.com/watch?v=yfoY53QXEnI

Thanks.

I put in both codes and while the share icons are gone from the portfolio items, I’m left with an empty box? The text on hover on my portfolio page is still all there. Can you please take a look?

I actually have a third question related to portfolio and sidebars. The website is in Chinese and English. The English portfolio page and items share a different sidebar from the blog. It works fine. The Chinese portfolio page also has a Chinese version of the portfolio page sidebar, but the Chinese portfolio page is using the blog sidebar, not the Chinese version of the portfolio page sidebar, while the items are using the correct portfolio sidebar. I cannot check off the Chinese portfolio page in the sidebar section because Chinese pages don’t show up. How can this be fixed?

Thank you!

Hello Cindy,

Thanks for writing in!

To resolve your sidebar issue, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.x-portfolio .entry-info {
    float: none;
    width: 100%;
}

.x-portfolio .entry-extra {
    display: none;
}

If you have translated the portfolio items, both the English and Chinese translation should display.

Thanks for the code. But I am not able to invoke the sidebar on the Chinese portfolio page https://www.wangjingwei.org/media-reports/ while it works on the English version https://www.wangjingwei.org/media-reports-en/. It is invoked on the Chinese portfolio ITEMS, not the page. How do I fix this? Translations have all been done, as you can see a pencil next to the media reports page, and when you click you do see the Chinese version of the page.

In fact, Chinese pages don’t show up when I go to the Sidebar area, see screenshot: https://www.wangjingwei.org/wp-content/uploads/2019/08/Screen-Shot-2019-08-11-at-9.05.55-AM.png

Much obliged.
Cindy

Hey Cindy,

Looks you fixed it already. Upon checking your Chinese portfolio page: https://www.wangjingwei.org/media-reports/, uses the Media Reports sidebar which is the Chinese one.

If I didn’t understand the problem, would you mind providing more details and screenshots?

Thanks.

Actually, no, it doesn’t. It is using the blog sidebar. not portfolio sidebar If you scroll further down the sidebar shows blog categories. The portfolio item sidebar is shown when you click on an item on https://www.wangjingwei.org/media-reports// I’ve also discovered that because I can’t view the portfolio categories in the Sidebar dashboard, there’s no way that I can select them to include them in the sidebar for the Chinese version. Is this true? If so, in this case, I’ll need to abandon the portfolio idea.

Hello Cindy,

Please be advised that Polylang plugin does not fully supported in X theme. It cannot translate the sidebar which is why it is display the main sidebar instead of the assigned and translated sidebar. Our developers already knew about this and it is already added in our enhancements list.

At the moment, WPML is the only translation plugin that fully supported in the theme.

Hope this helps.

ok, understood, thanks.

Great!
If you need anything else we can help you with, don’t hesitate to open another thread.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.