Problems with the "Blog" page

PureVision's picture
PureVision
Mon, 12/28/2015 - 17:06
#1
Problems with the "Blog" page

I'm having problems with my navigationbar being lower on a blog page.
On the frontpage it displays correct.

Frontpage:

Frontpage

Blogpage:

Blog page

How can I solve this?

phuonght's picture
phuonght
Mon, 12/28/2015 - 21:49

Hi,

Could you send us your site url, admin account and FTP account by private comment? We would like to have a check in your site.

phuonght's picture
phuonght
Tue, 12/29/2015 - 21:27

Could you check database again? We imported then got following error.

Image title

khoa's picture
khoa
Wed, 12/30/2015 - 08:21

Hello,

I'm having problems with my navigationbar being lower on a blog page.

=> Please  resize your logo image to the size(350x83) or you can add this code to lovely.css file.

The code: 

#logo img {

        max-width: 350px;

}

Thank you!

PureVision's picture
PureVision
Wed, 12/30/2015 - 14:48

Hey Khoa,

Thanks for the help.

My logo was 450px width and making it smaller helped.
Now the navigationbar is in the correct place on the blog page.

Still having some other problems that i need help with:

I also found some other minor errors.
If i post a blog item without a picture, icon or category it gives an error message.
It still posts, but i get the errormessages.

Adding pictures in a blogpost is also a problem.
Everything gets "opacity", including the pictures.
Is there a way to turn this off?

cindy's picture
cindy
Wed, 12/30/2015 - 21:31

Hi,

1. If i post a blog item without a picture, icon or category it gives an error message. It still posts, but i get the errormessages.

=> Please open file node--blog.tpl.php(sites\all\themes\md_lovely\templates).  In line 30, please replace:

<section class="post-featured-image" <?php if(theme_get_setting('sidebar_position','md_lovely') == 'no') print ''; ?>>
<img src="<?php print image_style_url('blog_detail', $node->field_blog_image['und'][0]['uri']); ?>" alt="">
</section>

with:

<?php if(isset($node->field_blog_image['und'])) : ?>
<section class="post-featured-image" <?php if(theme_get_setting('sidebar_position','md_lovely') == 'no') print ''; ?>>
<img src="<?php print image_style_url('blog_detail', $node->field_blog_image['und'][0]['uri']); ?>" alt="">
</section>
<?php endif; ?>

2. I tried adding a section for youtubevideos, but it's not showing up.

=> Which section do you want to embed youtube video? Please give us the video link

3. Adding pictures in a blogpost is also a problem. Everything gets "opacity", including the pictures. Is there a way to turn this off?

=> We are not very clear about this, please explain more or send us some screenshots

PureVision's picture
PureVision
Sun, 01/03/2016 - 15:30

Hi Cindy,

Thanks for the help on number 1.

Number 2 I found a solution myself.

For problem number 3.
In the lovely.css on line 939 there is following code:

p {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
opacity: 0.6;
line-height: 24px;
}

If you add an image in a blog post it is automatically put between <p> and also gets the opacity.
This is really annoying because I don't want my blogpost pictures to have this effect.

phuonght's picture
phuonght
Sun, 01/03/2016 - 21:49

Please go to admin/config/content/formats/full_html and uncheck as below image:

Image title

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.