WP-filebase navigation and style problem
-
Hello,
I am using Avada theme and when I use Wp-filebase shortcode I have a two issues:
1. Navigation is not working properly. My drop down menus are moved at right and I can’t see a half menu. This happens when i use wp-filebase only. On other pages is normal. When I turn on inspect and inspect CSS file I found that this problem makes Avada’s CSS in line
.fusion-main-menu li{
float: left;
margin: 0px;
padding: 0px;
position: relative;
}
When i turn off “position: relative” everything is normal.
How to make css to work normally?2.Why I can not call more than once some wp-filebase style?
Example:
[wpfilebase tag=list id=6 tpl=data-table sort=”file_name”]
[wpfilebase tag=list id=4 tpl=data-table sort=”file_name”]The first is showing normal, the second loses all style formatting.
-
I have found where is the problem. Problem is in styles.
My code looks like this (This is Serbian Cyrillic)Header:
%print_script:jquery-dataTables% %print_style:jquery-dataTables% <table id="wpfb-data-table-datum-%uid%"> <thead> <tr><th scope="col">Датум објаве - година/месец/дан</th><th scope="col">Име фајла</th><th scope="col">Опис</th></tr> </thead> <tbody>FOOTER:
</tbody> </table> <script type="text/javascript" charset="utf-8"> jQuery(document).ready(function() { jQuery('#wpfb-data-table-datum-%uid%').dataTable({"oLanguage": { "sEmptyTable": "Тренутно нема података", "sInfo": "од _START_ до _END_ од укупно _TOTAL_ фајлова", "sInfoEmjQuerypty": "Излистано је 0 од 0 од укупно 0 фајлова", "sInfoFiltered": "(Приказано од укупно _MAX_ линија)", "sInfoPostFix": "", "sInfoThousands": ",", "sLengthMenu": "Прикажи _MENU_ фајлова", "sLoadingRecords": "Учитавам", "sProcessing": "Обрађујем", "sSearch": "Претражи:", "sZeroRecords": "Нема порука", "oPaginate": { "sFirst": "Прва", "sLast": "Последња", "sNext": "Напред", "sPrevious": "Назад" }, "oAria": { "sSortAscending": ": Сортирај растуће", "sSortDescending": ": Сортирај опадајуће" } } } ); }); </script>Problem is in those two lines of code
%print_script:jquery-dataTables%
%print_style:jquery-dataTables%When I delete those two lines of code I lose all table formatting but my navigation works normal.
Can anyone help?
I find a solution. All download managers uses this. I had code from version 1.10.4 and now version is 1.10.9
The topic ‘WP-filebase navigation and style problem’ is closed to new replies.