Editing specific Menu item

Posted in: Newspaper
Post count: 4

Is it possible to apply changes to a specific menu item that wont have an effect on the rest ? By changes i mean like a bigger font/different font/bolder/ etc

http://www.badragencynews.com/ this is the news site im working on and on the top menu ending In ” Arabic Agency ” and ” Badr Newspaper ” id like to make those pop out more than the rest because theyre linked to 2 different other websites.

Post count: 22421

Hello,
This can be done with css. Every menu item has a specific class that can be targeted. You can use this code to increase the font a bit:

.menu-item-2144 a, .menu-item-2145 a{
font-size:16px!important
}

result: http://screencast.com/t/k7SD68oMb
Thank you!

Post count: 4

That worked perfectly thank you Bogdan <333

Im stuck on one more problem and im hoping you could help me, i been trying to fix this for awhile.

I’ve installed a ” Time ago ” plugin to display when a post was published, for example 5 seconds ago, 5 mins ago etc. Its working for all my categories except the ” HOME ” and ” News ” those 2 are displaying the publishing date of the actual page not post. So it displays ” 2 months ago ” for the entire page and overwriting the time ago plugin. How do i fix this?

http://www.badragencynews.com/ i mean its working fine on category menu items ive created, but the actual pages i left intact which are ” Home ” and ” News ” are blocking the plugin. Also if theres a solution without the plugin i can do that aswell aslong as date on post changes to ” time ago ” stamp. Thanks in advance

Post count: 22421

Hello,
Unfortunately we have no easy solution for it. you can either use plugins (time ago or anything other) or you can try the coding method: http://mekshq.com/change-wordpress-date-format-to-time-ago/ but this involves editing the theme files and a bit of php know how.
Thank you!

Post count: 10

hello, this function (the links you gave) is not compatible with the theme newsmag (500 error)
how to change the time with filter in functions.php to have “time ago” displaying on newsmag ?

Post count: 22421

Hello,
As the function is a php code and the newsmag theme as well as newspaper is created in php, then it most definitely works. It just needs adaptation to the code. If you cannot manage it, we recommend hiring a freelancer as php knowledge will be required for this task. Alternatively you can use a plugin that has a ‘time ago’ option.
The function that needs to be modified can be found here: http://screencast.com/t/VBnS47zy
Thank you!

Post count: 10

Hello, thx it’s done 🙂

Post count: 3

Hi! neomall can you show me the code you edited on the function on td_module.php? I’m trying this too but can’t work it out.

Post count: 7

I would also like clarification on how to make the ‘time ago’ plugin work.

Post count: 22421

Hello,
Well there is a strong chance you will have to use the code method, not the plugin. There are multiple methods in the guide above. The plugin is just on of them.
Thank you!

Post count: 7

Thank you.

When you posted this screen shot, http://screencast.com/t/VBnS47zy

Can you please explain the process in more detail?

Post count: 22421

As a quote from above:

It just needs adaptation to the code. If you cannot manage it, we recommend hiring a freelancer as php knowledge will be required for this task. Alternatively you can use a plugin that has a ‘time ago’ option.
The function that needs to be modified can be found here: http://screencast.com/t/VBnS47zy

We do not have a customization department and custom work such as this falls beyond what the theme support can offer you.

Thank you!

Post count: 3

Hi mickmeany,

I’ve managed to make the code method work, but don’t know if the code is clean. But at least it works on me.
Btw, this is Newspaper theme. Hope this helps. Cheers!

Post count: 7

Thank you for that.

Homepage blocks now say each post was made “3 years ago”… the rest of the site is fine, the problem is only with the homepage blocks

Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic.