Hello, how are you?
I’m a developer and I have a question. My client has requested a change in the subject and I’m having trouble.
The following image: http://imgur.com/x9rqokl
I would like to position the news category name above the title.
Later, I would like to replace the date for the social network shares links.
How could I do that? Is there a file to change the position of these elements? I searched several theme files and plug-and did not.
Thank you
Hello,
In order to know where to edit the code you must first figure out what that element is. it is a block. Blocks use modules as 1 block is made out of 1 ore more modules. In order to figure out which module is that, you can either use the browser inspector or the theme panel category tag list here: http://screencast.com/t/CxcUgpioMHis
Once you identify the module used, you can edit it;s code. For example if I want to modify module 1’s category tag, I would access this file: http://screencast.com/t/tvijQiZJxeTy
You can then use css to target the category tag and position it properly (after you modify the code)
I’m not sure what you mean by replacing the date on the social share links…please provide more details to what social sharing options do you mean and what date are you referring to.
Thanks.
Hello,
Apparently managed to solve what I wanted, but now I have another question.
I like the color of the category tag changed following the color category, as in the loop-single. I would also like to add social share buttons in the below description of the news.
I tried to call the same functions that are in the loop-single, but it still fails.
If you can look at the images I tried to describe in the easiest possible way:
Sorry for my bad english and thanks
-
This reply was modified 9 years by
Dorcas_.
Hello,
The modules use functions that are defined in http://screencast.com/t/cjvurdKG, not in the module single base file. So if you want to replicate a function to grab the color of the categories, you will have to add it in td_module.php and call it on the module itself. Unfortunately there will not be an easy way to add these elements in. You will have to code them in.
Thank you!
Hello,
I have one more question about the mobile plugin:
I would like to change the size of the image circulated on the link sent to you. I would like to keep this pattern in the block: http://i.imgur.com/eqt8lbn.png
Hello,
If you want to change the image size, you will have to edit the theme files here: http://screencast.com/t/klkFfbJJixP
You will have to define new thumbs using the theme api system: https://forum.tagdiv.com/td_api_thumbadd/
Thank you!
Hello,
That is not a normal functionality of the theme. The view counter should not reset.Please check for any plugins that might affect the counter. Disable all of them except visual composer, clear cache and reset cdn files if you use it. I have tested this on my end but the counter does not reset on updating a post.
Thank you!
Bogdan B