Solved

I have problem ( simple one )

Posted on 2013-06-13
13
244 Views
Last Modified: 2013-06-18
The problem is the next article and the previews one look like that , Problem is

i want it to look like this ture
source code is  :
 ----------------------------------------------------------------------

<?php $ht_prev_next = get_option('ht_prev_next'); if ($ht_prev_next == "true") { ?>

<div class="prev-next-wrapper">

<div class="prev-post">

<?php previous_post_link('&larr; '.__('Articles précédent', 'mvp-text').' %link', '%title', TRUE); ?>

</div><!--prev-post-->

<div class="next-post">

<?php next_post_link(''.__('Article suivant', 'mvp-text').' &rarr; %link', '%title', TRUE); ?>

</div>

</div>

<?php } ?> 

Open in new window

0
Comment
Question by:PHPHZ
  • 5
  • 3
  • 3
  • +2
13 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 39243805
what is next_post_link code?
0
 

Author Comment

by:PHPHZ
ID: 39243928
<?php $ht_prev_next = get_option('ht_prev_next'); if ($ht_prev_next == "true") { ?>

<div class="prev-next-wrapper">

<div class="prev-post">

<?php previous_post_link('&larr; '.__('Articles précédent', 'mvp-text').' %link', '%title', TRUE); ?>

</div><!--prev-post-->

<div class="next-post">

<?php next_post_link(''.__('Article suivant', 'mvp-text').' &rarr; %link', '%title', TRUE); ?>

</div>

</div>

<?php } ?>

Open in new window

0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 39243930
<div class="next-post" style="text-align: right">

<?php next_post_link(''.__('Article suivant', 'mvp-text').' &rarr; %link', '%title', TRUE); ?>

</div>

Open in new window

OR add this to your style sheet
.next-post {
  text-align: right;
}

Open in new window

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:PHPHZ
ID: 39243946
Still the same :S
0
 

Author Comment

by:PHPHZ
ID: 39243963
When i put long title everything fine . but if i put short title i'll got the problem above !

css
0
 

Author Comment

by:PHPHZ
ID: 39244172
Helppp
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39244300
Is this in some kind of a CMS or framework?

Best way to get help with this problem is to give us enough test data that we can replicate the problem.
0
 

Author Comment

by:PHPHZ
ID: 39244319
it's Wordpress , i think the problem coming from CSS ,
Because when the title bigger everything okey
when the title is less than 10 letters i've got the problem up!
0
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39244411
Post your link or html code and css for that portion
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39244423
Maybe you can pad the title with &nbsp; characters.  It's a bit of a hack to do something like this, but if it works, you've got a quick answer.
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 39244886
Post a link - it is not feasible to solve this with screen shots.
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39258180
Thanks for the points.  Going forward, consider spending a little time learning CSS.  I found that my understanding of CSS went way up when I began studying jQuery.  Just a thought, ~Ray
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 39258546
Yup padding with spaces is not the right solution here. Proper CSS styling is the way to go - but working with screenshots - unfortunately you are not going to get much in the way of guidance.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question