A few questions: menu, hyphenation

Posted in: Newspaper
Post count: 5

Hello. Please tell me how to do:

1. Can I make a hyphenation of long words? Screen https://www.dropbox.com/s/hf27v5m4ff7hkfn/2018-11-12_10-19-35.png?dl=0
2. Where can I customize the menu background shadow and underline? Like this screen https://www.dropbox.com/s/owhyug2whtwm5c5/2018-11-12_10-14-37.png?dl=0

Thanks 🙂

Post count: 20688

Hi,

1. The words should break when there is not enough space, the theme uses the word break property to break long words and display them in the next line
https://www.screencast.com/t/d0bAjzxu
If that is not happening, I could take a look. Provide a link to where this is happening.

2. The underline and the shadow don’t have any dedicated settings, I could try and give you CSS if you want to modify these. Note that the shadow is actually an image encoded in base64
https://www.screencast.com/t/5ziW64pf
This could be removed with CSS and add a true color shadow if that is what you want to do. Let me know.

Thanks

Post count: 5

Hello, Simion,

Thank for your answer.

1. Here https://hi-travelly.ru/what-to-see/dostoprimechatelnosti-budapeshta.html

2. Thank you, I will be grateful. I want make here https://hi-travelly.ru/ like here https://demo.tagdiv.com/newspaper/ shadow on the white background and underline on hover and active in menu item, color #e87714

Do you need access to the admin panel or will you send the code?

Post count: 20688

Hi,

1. From what I can see the title breaks when there is not enough space
https://www.screencast.com/t/UkljSSad
If it would not the result is like this – https://www.screencast.com/t/rLHnv33V
https://www.screencast.com/t/nuEuV19AwZ
From what I can find hyphenation of words is possible but not for all languages and may not work in all browsers
https://css-tricks.com/almanac/properties/h/hyphenate/
I believe that is why the current word break was implemented.

2. It would be better to use a shadow, there are plenty of shadow generators online. For example a quick test I made
https://html-css-js.com/css/generator/box-shadow/
https://www.screencast.com/t/pABY7aPdQ
https://www.screencast.com/t/TR7fI9Ras6p
You can design a shadow how you like it and use this code to apply it (code can be entered in Theme panel->Custom CSS) simply replace the values I used in the example

.td-header-menu-wrap {
-webkit-box-shadow: 0px 5px 31px 1px rgba(0,0,0,0.27);
box-shadow: 0px 5px 31px 1px rgba(0,0,0,0.27);
}

Header style 6 that you are using doesn’t underline the active menu items, it colors their background
https://www.screencast.com/t/4TYnzCHPQY5P
I could give you a code to make it visible, like this
https://www.screencast.com/t/1LsDVN0jIZD
https://pastebin.com/VTwu8faP
If you want you can chnage the color of the underline in the code.

Thanks

Post count: 5

Thank you very much, you are awesome support :))

1. This is not a title, title is okay, this is in the body text (H2 heading), after the video https://www.dropbox.com/s/9fyo0mm0oad1rdx/2018-11-15_11-18-19.png?dl=0

2. It’s work) It’s okay? https://www.dropbox.com/s/spn9u2h8dbdnapj/2018-11-15_11-20-31.png?dl=0

3. How else to add underline on sticky menu? https://www.dropbox.com/s/6pywhgax8uzp4my/2018-11-15_11-23-04.png?dl=0

Post count: 20688

Hi,

I see it now, sorry for misunderstanding. Seems that heading don’t have word break as paragraphs do, in the post content. I will add this on our list and it will be investigated.

I could give you a code to fix it – https://www.screencast.com/t/JnoNd7jy

.td-post-content h2 {
word-wrap: break-word;
}

It will apply to h2 in the post content, if you also have other heading types in the same situation, it will be like this

.td-post-content h2,
.td-post-content h3,
.td-post-content h4 {
word-wrap: break-word;
}

Please let me know if you have more questions.
Thanks

Post count: 5

1. I added but it’s not work https://www.dropbox.com/s/ojc49l61rt11kld/2018-11-16_12-01-23.png?dl=0

2. Why are there different fonts on desktop and phone? Can I customize the font for the phone in the admin panel? Phone https://www.dropbox.com/s/ezx9g4qucgzghsc/0zNjplr9-4E.jpg?dl=0 Desktop https://www.dropbox.com/s/aqal1pdfd19vcr4/2018-11-16_12-06-10.png?dl=0

3. How else to add underline on sticky menu? https://www.dropbox.com/s/6pywhgax8uzp4my/2018-11-15_11-23-04.png?dl=0

Post count: 20688

1. Forgot to mention it, if you use the mobile theme CSS code has to be entered in the mobile section
https://www.screencast.com/t/JSSPRX3Nxzu
That it should work.

2. The mobile theme will not use the same font settings from desktop. It will load predefined fonts, this is for performance. The mobile doesn’t have font settings or many settings overall, loading additional fonts will affect the loading speed.

3. Do you maybe have a white color set here? – https://www.screencast.com/t/Vfqud5V6IbY
That would make the underline invisible against a white background color. Please check this.

Post count: 5

Yes. it’s work, thank you 🙂

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