Helen Papp
asked 8 years ago

I am a non-technical user, so I apologize in advance for all the ridiculously stupid things I’m about to say/ask:
I am working with DW Question & Answer and can’t figure out how to edit the CSS.
In our case, when you open a Question page, we need users to be able to see how they can register to answer the question.  On our website, all links should appear in blue.  However, if you visit a question page, such as this: 
….you’ll see that at the bottom of the page where it instructs viewers to “PLEASE LOGIN OR REGISTER TO SUBMIT QUESTION” the word REGISTER appears in black even though it is a link that should be blue.
I saw your complicated instructions about changing CSS here under the topic of “Style Integration”:
…to a neophyte, this seems difficult, because you instructing us to change theme files (which means that if/when we update the theme, we have to remember to repeat those edits), but more importantly, I am stuck at the point where you instruct us to edit the page.php file of the theme, because mine looks nothing like your example.
Your example of the page.php file to be edited:

<header class="page-header">
    <h1 class="page-title"><?php the_title(); ?></h1>
<div class="container-fluid">
    <div class="entry-content">
        <?php the_content(); ?>
        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'dw-simplex' ) . '</span>', 'after' => '</div>' ) ); ?>

My actual page.php file for the Pangaea wordpress theme:

<?php get_header();
if( get_post_meta( get_the_ID() , ‘brad_page_layout’ , true ) == ‘sidebar’) {
$page_type = ‘sidebar’;
} else {
$page_type = ‘full-width’;
<?php get_template_part( ‘framework/templates/page/content’, $page_type ); ?>
<?php get_footer(); ?>

Many thanks for your assistance!

1 Answers
answered 8 years ago

To resolve this issue, you can add the following code to the style.css file:

body .dwqa-container a { color: #305983; }

If you want edit the css file, you can open the style.css file in the folder path “plugins\dw-question-answer\inc\templates\default\assets\css”
Hope this helps !

Helen Papp
replied 8 years ago

That worked perfectly! Thank you so much!

Powered by DW Question & Answer Pro