njainb
asked 8 years ago

Hi Team 
 
I’m looking at having more information populated in in 15 Must Read Articles dropdown. I’m trying to have separate class for each column, so that I can populate information selectively. Is it possible in current framework. It would be of great help, if this is achievable. 
 
Regards
Nitin

1 Answers
Wilfred
answered 8 years ago

Hi njainb,
To resolve this issue please follow my instruction here:
1. Open functions.php file in /wp-content/themes/dw-focus/functions.php
2. Replace following code line 965 

if($i % 3 == 0)

width: 

if($i % 4 == 0)

3. Add following code to Dashboard / Appearance / Customizer / Custom code / Custom wp_head

<style>
@media (min-width:980px) {
.desktop .top-news .dropdown-menu li.first {
padding-left: 0;
}
.desktop .top-news .dropdown-menu li {
margin-left: 0;
padding-left: 5%;
width: 25%;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.desktop .top-news .dropdown-menu:before {
left: 295px;
}
.desktop .top-news .dropdown-menu:after {
left: 545px;
}
.desktop .top-news .dropdown-menu .row-fluid:before {
width: 1px;
height: 100%;
position: absolute;
display: block;
left: 795px;
}
}
</style>

Hope this helps!

Powered by DW Question & Answer Pro