Style Last Topics and Login Widgets how to
Posted: Thu Jun 22, 2017 8:50 pm
NOTE from 1.9.7 >
[w3allastopics] - [w3allastopicforumsids] AND [w3allfeed] shortcodes
there is the new way to apply classes and inline styles on each shortcode.
Documentation on how to use has been added on bottom of each shortcode documentation page.
It maintain compatibility with the old way.
The following below is may obsolete to apply for the above listed shortcodes from version 1.9.7 >
By the way you still can use the old way to style shortcodes as explained here below
This first explain post if for more advanced users, skip to next reply post for the easy how to style widgets
Check also the latest post on this topic
If you need to style widgets because they do not look like your theme
For Widget Last Topics
open file
views/phpbb_last_topics.php
+- on top search for this lines:
WP_w3all Login Widget
files
views/login_form_include_iframe_mode_links.php
and
views/login_form_include_noiframe_mode_links.php
Be noticed that if you change classes names, when the plugin will be updated (so all plugin's files replaced by the update) you'll need so to reset classes names other time on views/phpbb_last_topics.php or views/login_form_include_iframe_mode_links.php or views/login_form_include_noiframe_mode_links.php
[w3allastopics] - [w3allastopicforumsids] AND [w3allfeed] shortcodes
there is the new way to apply classes and inline styles on each shortcode.
Documentation on how to use has been added on bottom of each shortcode documentation page.
It maintain compatibility with the old way.
The following below is may obsolete to apply for the above listed shortcodes from version 1.9.7 >
By the way you still can use the old way to style shortcodes as explained here below
This first explain post if for more advanced users, skip to next reply post for the easy how to style widgets
Check also the latest post on this topic
If you need to style widgets because they do not look like your theme
For Widget Last Topics
open file
views/phpbb_last_topics.php
+- on top search for this lines:
Code: Select all
$w3all_lastopics_style_ul = 'list-style:none;margin:0px';
$w3all_lastopics_style_ul_class = 'w3all_ul_widgetLastTopics'; // declare this class .w3all_ul_widgetLastTopics into your css template and style ul element as needed
$w3all_lastopics_style_li_class = 'w3all_li_widgetLastTopics'; // declare this class .w3all_li_widgetLastTopics into your css template and style li elements as needed
files
views/login_form_include_iframe_mode_links.php
and
views/login_form_include_noiframe_mode_links.php
Code: Select all
$w3all_loginform_style_ul = 'list-style:none;margin:0px';
$w3all_loginform_style_ul_class = 'w3all_ul_widgetLogin'; // declare this class .w3all_ul_widgetLogin into your css template and style ul element as needed
$w3all_loginform_style_li_class = 'w3all_li_widgetLogin'; // declare this class .w3all_li_widgetLogin into your css template and style li elements as needed