M G
asked 6 years ago

I often use <br /> in titles for a better impagination in News Slider Widget but this hack shows titles in DW Focus Headlines widget on two rows. The result is a bad titles overlapping (see http://www.fulvioscaglione.com for example).
Is there a way to force titles visualisation in  DW Focus Headlines widget always on a single row?
Thanks in advance,
MG

3 Answers
DominicStaff
answered 6 years ago

Hello M ! 
To resolve the isue in the DW Focus Headlines widget, you can add the following code to the Header Code (Dashboard > Appearance > Customize > General Setting)

<style>
#under-navigation .dw_focus_headlines .headlines li {
    overflow: hidden;
}
</style>

Hope this helps !

M G
answered 6 years ago

Hi Dominic, thanks for your reply!
I add your code and there isn’t overlapping now, but I can see only the first row of the title.
Let me give you an example: title is: “Israele <br> la Torah o il fucile”. In DW Focus Headlines widget now I see only “Israele” (all words before <br> tag).

How can I visualize the entire title on a single row?

DominicStaff
answered 6 years ago

Hi M ! 
To remove the <br> tag in the DW Focus Headlines widget, you can add the following code to the Header Code: 

 <style>
#under-navigation .dw_focus_headlines .headlines a br {
    display: none;
}
</style>

Hope this helps !

M G
replied 6 years ago

Thanks Dominc, it works perfectly!

Powered by DW Question & Answer Pro