Jaysarie Gundran
asked 3 years ago

Hi,

I have several inquiries regarding the DW Page Modern particularly the blog section and blog page. Hope you can assist me:

1) Could the blog posts located in the blog page be posted as articles in DW Page Modern theme and not in pop-ups?
2) is there a way to space out the article in the pop-up window in the blog section of the main page? We would like the blog to appear like it does on the Word document.

2 Answers
Allen
answered 3 years ago

@Jaysarie Gundran: hi about your issue:
1, Could the blog posts located in the blog page be posted as articles in DW Page Modern theme and not in pop-ups? : right now , the DW page modern does not have a blog page , so to implement this , you could add a new template page to the theme : create a php file name : template-blog.php , and in there you can put code like this :

<?php 
/**
 * Template Name: Blog
 */
?>
<?php get_header(); ?>

<?php query_posts('post_type=post&post_status=publish&posts_per_page=4&paged='. get_query_var('paged')); ?>

<div id="main">
    <div class="container">
        <div class="section">
            <?php while ( have_posts() ) : the_post(); ?>
            <article <?php post_class(); ?>>
                    <header class="page-header">
                        <h1 class="page-title"><?php the_title(); ?></h1>
                    </header>
                    <div class="entry-content">
                        <?php the_content(); ?>
                    </div>
                </article>
            <?php endwhile; ?>
        </div>
    </div>
</div>
<?php the_posts_pagination(); ?>
<?php get_footer(); ?>

And then , when you create a page in the back end , you can choose the template blog for that page and you will have a blog page.Unfortunately, we didn’t support blog page in this theme so the layout is mess up, it’s need time to custom the css for that page. If you have time, you could try new DW-page ( version 1.1.0 ). It supports blog page and have many new features.

2: is there a way to space out the article in the pop-up window in the blog section of the main page? We would like the blog to appear like it does on the Word document : yes , you can open file : inc\assets\css\template.css\ and find this word :.modal-inner. you can see the css there, changemax-width:500px;tomax-width:1000px;`. The attribute there will change the size of that pop up window.

Hope this help.

jaysa
replied 3 years ago

Hi Nobita,
Thanks for answering my queries. Do we need to purchase the latest version of DW-page or can we update our existing version?

jaysa
replied 3 years ago

Of both my queries, should I do the following in the cPanel?:

"add a new template page to the theme : create a php file name : template-blog.php , and in there you can put code",

open file : incassetscsstemplate.css and find this word :.modal-inner. you can see the css there, changemax-width:500px;tomax-width:1000px;"

nobita
replied 3 years ago

@jaysarie Gundran : well, in the issue 1 : you could create a new file and upload it to the theme folder via the cPanel .
The issue 2 , you can try this : go to back end, Appearance–> Editor , you can add these code to file style.css:

.modal-inner {
 max-width:1000px!important;
}

You can send me your wordpress site access via private answer. i Can also help you get it.

p/s: for your question about purchasing dw-page : right now , your theme is kinda like a feature of the new dw-page( version 1.1 .0 ). DW-page update have many new feature and easy to control,easy build your page flexibility. You can choose the page style( 6 styles including page-modern ) in customize . You can check out our demo here : http://demo.designwall.com/dw-page/

jaysa
replied 3 years ago

@Nobita:
Issue 2, where EXACTLY should I add the code you provided to file style.css? thanks!

nobita
replied 3 years ago

@jaysarie Gundran : hi , you can go to back-end –> Appearance –> editor, you can see Stylesheet (style.css)
Just put the code at the bottom of the file.

jaysa
replied 3 years ago

@Nobita: I already did what you suggested me to do regarding the first issue. I created a new php file in the theme folder, then put the code you provided. However, when I go to the backend and tried to create a new page, there was no new option in the Template under the Page Attributes which is the php code defined in the new file (tempkateblog.php) I created.

Jaysarie Gundran
answered 3 years ago

Here’s a screenshot of the site’s back-end –> Appearance –> editor –> Stylesheet (style.css)

[http://screenshot.net/08v56f2]

Where should I exactly "at the bottom of the file" should I put the code below that will space out the article in the pop-up window in the blog section of the main page:

.modal-inner {
 max-width:1000px!important;
} 
dominic Staff
replied 3 years ago

Please send me username & password of your site, I will help you add the code to your style.css file.

Powered by DW Question & Answer Pro