Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: making the NEXT Page text bigger?

  1. #1
    Join Date
    Jan 2007
    Posts
    86

    Default making the NEXT Page text bigger?

    People can't see the NEXT page / Page 2... text since its kind of small, where abouts is that .html file located so you can make it bigger?

    I found about where it is but it just says

    <%if $pagination%>
    </p>
    <center>
    <p class="pagination1"><%$pagination%></p>
    </center><br />

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    class="pagination1" is the key here. Look in the CSS files for that class.

  3. #3
    Join Date
    Jan 2007
    Posts
    86

    Default

    Could it be named something else in the style.css file?

    I had dreamweaver search and it found all the pages that link to that pagination1 tag but didnt' find it in the .css file

    weird???

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Most templates have more than one css file

  5. #5
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    What theme are you using mxwebsites?
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  6. #6
    Join Date
    Jan 2007
    Posts
    86

    Default

    I'm not sure its all modded, I think maybe it started as kosmos or cleandex?

  7. #7
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Ok if you think you started using kosmos with this template look in the

    themes/yourtheme/blocks.css

    search for #pagination

    in Kosmos it look like
    PHP Code:
    #pagination {
            
    text-aligncenter;
        
    margin20px;

    Add your styling there,

    If that doesnt help your probally using a diffrent theme,
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  8. #8
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by mxwebsites View Post
    People can't see the NEXT page / Page 2... text since its kind of small, where abouts is that .html file located so you can make it bigger?

    I found about where it is but it just says

    <%if $pagination%>
    </p>
    <center>
    <p class="pagination1"><%$pagination%></p>
    </center><br />
    the pagination1 class will not affect anything inside the <a href></a> code (unless the <a> tag is set to inherit it from the <p> tag and that is not dody's style)

    you should look at the source code for the page and see if there is a class assigned to the <a href></a> tag. if there was one, you could search for that class and change it accordingly. Since there isn't one, you will probably need to modify the pagination.class.php file in the lib folder.



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  9. #9
    Join Date
    Jan 2007
    Posts
    86

    Default

    Thanks, I just found that page pagination.class.php in the lib file and changed the text from 10 to 16 and it didn't do anything so I changed to 6 and that didnt' either.

    I'm sure I'm changing the wrong code but the rest appears to not do anything, which line or number do I modify?

    class navigator {
    var $pg_size = 10;
    var $pg_which = 1;
    var $cp_size = 10;
    var $rec_count = 0;
    var $rec_start = 0;
    var $more_param = "";
    var $href = "";
    var $page_file = "";
    var $page_title = "";

  10. #10
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    look for the style tag in the <a href tags.

    for example:
    PHP Code:
    $out .= "<a href=\"" $this->href $pref "pg_which=1$this->more_param\"
    style=\"color: $this->active_link_color\">"
    $this->first_text ."</a>\n"
    you will want to use something like font-size:12px (or 14px or whatever). except where dody used the font tag.

    good luck with keeping track of all those quote marks.

    see Inline css style



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  11. #11
    Join Date
    Jan 2007
    Posts
    86

    Default

    I tried 10 different ways and I keep breaking my site

    should be something like this right? I checked that site but that looks more htmlish..this is weird!

    I added: font-size:16px;

    what am I doing wrong?

    $out .= "<a href=\"" . $this->href . $pref . "pg_which=1$this->more_param\" style=\"font-size:16px;color: $this->active_link_color\">". $this->first_text ."</a>\n";

  12. #12
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    themes/yourtheme/blocks.css

    search for #pagination
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  13. #13
    Join Date
    Jan 2007
    Posts
    86

    Default

    I dont have a blocks.css file

  14. #14
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by echo@ View Post
    themes/yourtheme/blocks.css

    search for #pagination
    Quote Originally Posted by mxwebsites View Post
    <%if $pagination%>
    </p>
    <center>
    <p class="pagination1"><%$pagination%></p>
    </center><br />
    the code mxwebsites refers to is in v5.4 and was never actually defined. and even if you define it, it will NOT affect the pages numbers because they are inside an <a> tag.

    block.css was introduced in INDEXU 6. But changing it will not change the page number.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  15. #15
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by mxwebsites View Post
    I tried 10 different ways and I keep breaking my site

    should be something like this right? I checked that site but that looks more htmlish..this is weird!

    I added: font-size:16px;

    what am I doing wrong?

    $out .= "<a href=\"" . $this->href . $pref . "pg_which=1$this->more_param\" style=\"font-size:16px;color: $this->active_link_color\">". $this->first_text ."</a>\n";
    the line you are showing works so it must in another line that you changed.


    try the following:
    PHP Code:
          $out "";
          if (
    $offset 0) {
            if (
    $start 1) {
              
    $out .= "<a href=\"" $this->href $pref "pg_which=1$this->more_param\" style=\"font-size:16px;color: $this->active_link_color\">"$this->first_text ."</a>\n";
            }
            
    $out .= "<a href=\"" $this->href $pref "pg_which=" . ($this->pg_which 1) . $this->more_param "\" style=\"font-size:16px;color: $this->active_link_color\">"$this->prev_text ."</a>\n";
          }

          for (
    $i $start; (($i $length) && ($i $start $this->cp_size $this->pg_size)); $i += $this->pg_size) {
            if (
    $i == $offset) {
              
    $out .= "<font color=\"$this->disable_link_color\"><b>" . ($i $this->pg_size 1) . "</b></font>\n";
            }
            else {
              
    $out .= "<a href=\"" $this->href $pref "pg_which=" . ($i $this->pg_size 1) . $this->more_param "\" style=\"font-size:16px;color: $this->active_link_color\">" . ($i $this->pg_size 1) . "</a>\n";
            }
          }

          if (
    $offset $length $this->pg_size) {
            
    $out .= "<a href=\"" $this->href $pref "pg_which=" . ($this->pg_which 1) . $this->more_param "\" style=\"font-size:16px;color: $this->active_link_color\">"$this->next_text ."</a>\n";
            if ((
    ceil($length/$this->pg_size) - 1) * $this->pg_size >= $i) {
              
    $out .= "<a href=\"" $this->href $pref "pg_which=" ceil($length/$this->pg_size) . $this->more_param "\" style=\"font-size:16px;color: $this->active_link_color\">"$this->last_text ."</a>\n";
            }
          } 
    it works for me

    you may want to add a size=\"4\" to the font tag for the current page so that it increases in size. or replace the font tag with something like:
    PHP Code:
    $out .= "<span style=\"font-weight:600;font-size:16px;color=\"$this->disable_link_color\">" . ($i $this->pg_size 1) . "</span>\n"
    and maybe add the following to the header.html file just before the </head>:
    HTML Code:
    <style>
    .pagination1{
    font-size:16px;
    }
    
    </style>
    Not sure what dody was thinking when he was writing the code for this section. He usually gets it right...


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. MoparMuscle.net - A year in the making
    By Bruceper in forum Customer Reviews
    Replies: 6
    Last Post: 08-15-2007, 03:03 PM
  2. Making multiple SubCats
    By spin in forum v5.x
    Replies: 3
    Last Post: 08-12-2007, 05:51 PM
  3. Replies: 4
    Last Post: 04-04-2005, 06:36 AM
  4. Making Index.php my start page.
    By fattymen in forum Tutorials, Hints & Tips
    Replies: 13
    Last Post: 02-13-2005, 04:35 AM
  5. Making Money
    By pogel in forum Pre-Sales Questions
    Replies: 2
    Last Post: 10-26-2004, 12:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •