Decorative underline for main menu and more…

Posted in: Newspaper
Post count: 16

Hello,

I want to have a similar decorative line under and above the Style 6 menu, that you can have under and above the style 1 on the News Magazine theme. I also would like to have a Main Menu Dropdown Icon (three stripes) instead of “ALL>” button. And in addition I´d like to add my social icons next to the menu button, without any frame or background, just a logo with theme colors. Is there any free plugin for this, or do I need to tweak the code? If I need the code option, then what and where to change?

Thanks in advance!

Maiko

Post count: 16

In addition, I´d like to change the link underline style/color and hover color, so it would be a site wide option for my content, whenever I add a link into a text.

Post count: 20688

Hi,

1. Each demo has custom design besides what can be achieved with the default theme settings and options. The News magazine demo borders you mention, can be replicated by using the code from the demo stylesheet
https://www.screencast.com/t/ALXxg5rPHx
https://www.screencast.com/t/yPeiHq8vzZB
This might need additional modifications, to display properly. If you need further help I will help you.

2. If you are referring to the All text in the mega menu cannot be replaced with an icon by default, unless modifications are made in this file
https://www.screencast.com/t/b0ia3iQp
https://www.screencast.com/t/uuju6rDYj

3. The social icons will be displayed in the top bar and in the footer, according to the social accounts entered in the Social networks section
https://www.screencast.com/t/AXfgjacu
If you could detail what exactly you want to modify I will try and provide a solution.

Thanks

Post count: 16

Hi,

1. thanks for the reply, so I can add these lines from the style 1 menu under and on top of the style 6 menu with this code, or what modifications you refer to to display it properly?

2. No I want to have only the black main menu bar with borders on top and under it. On the menu I want to have a Menu icon (like you have on smartphone view, on many sites. The one with the three stripes), this would reveal the dropdown menu for the categories and other pages.

3. Next to the main menu icon I´d like to have social icons. From your social section I can add them to the footer and top bar, but I don´t want to use the top bar, I want a clean look and only the main menu bar with the social icons there alongside the main menu bar.

Thanks

Maiko

Post count: 20688

Hi,

1. If you use Header style 6 try it like this
https://www.screencast.com/t/jNclJUZU8zoE
There will be a border bottom for the main menu, a border top for the top menu and a border bottom of the same top menu. The color can be what you want, simply change it in the code and then enter it in Theme panel->Custom CSS section

.td-header-style-6 .td-header-menu-wrap-full{
border-bottom: 5px solid red;
}
.td-header-style-6 .td-header-top-menu-full {
border-bottom: 1px solid red;
border-top: 3px solid red;
}
.td-header-style-6 .sf-menu > li > a {
line-height: 75px;
}

Please let me know if you have further questions, or something needs modifying.

2. So instead of the arrow you would like to use the hamburger icon
https://www.screencast.com/t/xyJ2ejKW
You will have to modify the default icon font, and replace it with that one, in the theme stylesheet
By default it is like this
https://www.screencast.com/t/8SiiPSlVX
Change it like this
https://www.screencast.com/t/Kxi4nb452yTP
With this result
https://www.screencast.com/t/lwJPtJ2qe

3. The socials are displayed in the top bar, not in the main menu. In the main menu you could use custom links with Font awesome icons for example, linking to where you want
https://www.screencast.com/t/BWnugJ6N
https://www.screencast.com/t/LgtiYueA6EVc
https://www.screencast.com/t/BnT4bJHy3Fi
The result is like this
https://www.screencast.com/t/QAypIroMUQ
More information here
https://forum.tagdiv.com/how-to-add-icons-in-menu/

Thanks

Post count: 16

Thank you so much, I’ll start to test these ideas and one more thing…

In addition, I´d like to change the link underline style/color and hover color, so it would be a site wide option for my content, whenever I add a link into a text. Solutions I have found in the internet, they are a side wide option. Every headline and topic and so on, has the same style, but I want to have only post hyperlinks customized, with custom thickness underline, with a custom color and leave the text black, while on hover it turns into a brand color. And in order to optimize the user experience I’d like these links to open in a new tab while the focus stays at my content.

Thanks for the great support so far.

Maiko

Post count: 20688

Hi,

The link color throughout the website is inherited from the theme accent color setting
https://www.screencast.com/t/PByHpQHZ3qs
It could be changed for specific elements, with some custom code. For the post content like you mention if I understand correctly, a code like this can be used
https://www.screencast.com/t/SWLfOMhNn9
https://www.screencast.com/t/kdYOm9hzJ
The thickness of the underline cannot be changed from what I know, but it can be replaced with a border like this
https://www.screencast.com/t/ZQqruNYHoExf
The links will have a chosen color normally, and another color when hovered, only for the post content. This is the code used in the example

.td-post-content a {
color: black;
}
.td-post-content a:hover {
color: yellow;
text-decoration: none;
border-bottom: 5px solid yellow;
}

If you want the links in the post to open in a new tab, this is an option that can be used while the link is created
https://www.screencast.com/t/O8wdb7NpO

Thanks

Post count: 16

1) Hi you’ve been a good help, but I can’t get the main menu exactly like I would like it to be.

At the moment our header is like this:

https://drive.google.com/open?id=0B8IDvIlInXlKM3llLUVUaUNEZDA

But Avada has exactly the hamburger icon and layout that we’d like to have on our page main menu bar. We want to retain the overall look we have now, but have a dropdown menu with topics and additional pages.

https://drive.google.com/open?id=0B8IDvIlInXlKUnJLMVd0eHdHT1k

Can you give me a way to make this happen?

2) And I’d like to know, how to edit this menu, it’s items and/or to remove it completely?

https://drive.google.com/open?id=0B8IDvIlInXlKZzg3LW5URGFuVlk

  • This reply was modified 8 years by Maiko.
Post count: 20688

Hi,

1. I might have misunderstood what you wanted with the hamburger icon. You could place the hamburger icon in the menu as a menu item, using Font awesome and the guide from above
http://fontawesome.io/icon/bars/
You can create a drop down menu, page menu or mega menu
https://forum.tagdiv.com/mega-menu/
https://forum.tagdiv.com/page-menu/
For the styling it would be helpful if you could provide a link to your website and more precise details about the changes you want, and I will try to help you with a solution.

2. That is a filter displayed on the category pages to filter the posts that are displayed in the top grid. It can be disabled in the general category settings
https://www.screencast.com/t/JHMK14Lg32P

Thanks

Post count: 16

I use the Font 4 awesome plugin and I can get the menu icon replaced with the bar, by creating a # custom link with a css code for the bars in the link name box. And after this I added all the pages and categories as sub menu items to that.

Although I have still have the regular dropdown menu arrow (your theme has) next to the hamburger. Can I remove it with custom css code just, as I don’t feel comfortable adjusting the theme code in the back end.

I’m just a novice wordpress user, who is learning the trade until we have enough funds to hire a proper developer for our new cause.

The site is here.

http://www.timler.ee

Post count: 20688

Hi,

That arrow can be removed with CSS. To make the code more precise you could use the menu item unique ID (each menu item has an ID), like in this example
https://www.screencast.com/t/xVb1yskH
I don’t see the menu at the moment on your website, but you can use a code like that to hide the arrow, using the menu item ID.

.menu-item-18056 .fa + .td-icon-menu-down {
display: none;
}

Please let me know if there is a problem with this solution, or you need further help.
This is a useful guide explaining how you can create custom code, by identifying the elements on the page and their classes with the browser inspector, a very powerful tool
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.