• Resolved ccpetersen

    (@ccpetersen)


    Sorry, I accidentally posted this as an answer to another’s question. I can’t delete it, so am reposting it here.

    I have just installed the raindrops theme for my site and in trying to fix some font issues, I’ve managed to lose the supersized font for the site-title at the top. The site is http://www.thespacewriter.com/wp and yes, I am changing the database signifer once I”m done with this theme change. So, when it first installed the name at the top which is now small was quite large, like 72 point type. How do I fix that?

    Also, I’d like to ‘move’ the right column over a little bit so it doesn’t look so crowded. How might I do that?

    Finally, I’m getting some odd error messages such as:

    warning: invalid argument supplied foreach() in home/XXX/XXX etc the location of my files on line 1248

    I also get:

    warning: array_merge()[function.array-merge]: Argument #2 is not an array in (home site).

    I’m not a php wiz, although with my previous (easier to use theme) I was able to figure things out. These issues are stumping me. I can’t seem to figure out what font size call to change, indeed I’ve tried changing site-title AND h1 and .h1, but none of the changes seem to work.

    Now, mind you, I would have been working on this in the background, but the other day I decided to “preview” a few themes, and it turns out doing that “blew away” my other them, plus the latest changes I’d made. I did have a backup, but not a very recent one, as (‘d been planning to change themes for a while now. So, yeah, onus is on me for not saving the stylesheet more often (last save was a few months ago), although I do backup my blog and database every few days.

    Finally, why am I seeing a posting number in the link to each posting? How can I remove that?

    Anyway help you can give is greatly appreciated.

    ccpetersen

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author nobita

    (@nobita)

    Because I am poor understanding of English, is there may be a mistake to answer, in which case, please point out easily if you can

    First When Theme customize Please create a child theme

    ( While maintaining your customization, update the theme is enabled )

    The creation method of a Child Theme

    Child theme name:mysite

    Creation of – theme holder
    wp-content/themes/mysite
    Creation of – stylesheet

    style.css is created in the
    wp-content/themes/mysite/style.css
    The contents are as follows.
    Creation of a style sheet
    style.css

    /*
    Theme Name: mysite
    Author: Your name
    Author URI: http://yoursite.com
    Version: 0.1
    Template:raindrops
    */

    Usually, when making a Child theme, it is explained that the style of a parent theme is imported as follows, but in rained Rops, it is unnecessary.
    the child theme is detected and it imports automatically.

    /* Raindrops No need import rules like below*/
    @import url('../twentyten/style.css');

    make file functions.php
    ver1.200 ~

    <?php
    
    add_action( 'switch_theme', 'my_child_uninstall' );
    
    function my_child_uninstall(){
    
        delete_option("raindrops_theme_settings");
    }
    ?>

    This description is intended to use in a child theme, and change settings of Raindrops, if you uninstall, delete the configuration changes of the parent theme.
    If you did not delete, you may be when you install the new Raindrops, correct, it is not displayed by default.

    Finish.

    Change Site Title Font size

    Add child themes style.css

    #site-title span{
      font-size:/* your font size*/;
    }

    warning: invalid argument supplied foreach() in home/XXX/XXX etc the location of my files on line 1248

    Please tell me home/XXX/XXX filename.

    Thank you.

    Thread Starter ccpetersen

    (@ccpetersen)

    Hello, thank you for answering. I have modified the theme too much to go back and do a child theme. So, I have saved a copy of the original theme offline.

    Anyway, notice that my h2 subheads are too small. How do I change the h2 font size?

    The error message I get is:

    Invalid argument supplied for each () in /home/swriter/public_html/wp/wp-admin/custom-header.php on line 1284

    Array)merge()[function.array-merge]: ARgument #2 is not an array in /home2/swriter/public_html/wp/wp-admin/custom-header.php obn line 1268

    Invalid argument supplied foreach() in /home2/swriter/public_html/wp-admin/custom-header.php on line 1248

    Array_merge()[function.array-merge]:Argument #2 is not an array in /home2/etc…/custom-header.php on line 1268.

    I have no idea what these refer to. I am not ane xpert in php. I just want to be able to put my 950 x 150 artwork at the top of the page, have the title show up, have the subhead show up, and not have it break the template.

    Thread Starter ccpetersen

    (@ccpetersen)

    Also, why is the “more-link” putting in a number at the end of the entry name, such as you see here:

    http://thespacewriter.com/wp/2014/04/15/water-flowed-on-mars/#more-6631

    Where is the 6631 coming from? I dont’ want it there. So, how do I get rid of it?

    I also want my h2 subheads to be bigger, but I cannot figure out where to change that. RIght now all the subtitles at the tops of my articles are the same size as the body copy. And, I have made them bold in the admin panel, but they do not look bold in the page.

    i am confused and frustrated.

    Thread Starter ccpetersen

    (@ccpetersen)

    I have now figured out how to get the image that i wanted below the header.

    Theme Author nobita

    (@nobita)

    i am confused and frustrated.

    Sorry

    Also, why is the “more-link” putting in a number at the end of the entry name, such as you see here:

    Dashbord / Appearance / Raindrops options / Accessibility Settings

    Please set value no

    Did not solve the problem of error in the header image related?

    thank you.

    Thread Starter ccpetersen

    (@ccpetersen)

    I was able to solve the problem for the image below the main header. I was also able to fix the subhead that goes over the header image for chrome, but it and the name of my site are still small in firefox and IE.

    Still have not figured out how to fix the subhead title in the body copy,w which is an H2. I’d like H2 to be somewhat bigger than the body copy, but not as big as the header copy.

    I will go fix the accessibilty settings now.

    thank you for your patience with my questions

    Theme Author nobita

    (@nobita)

    my site are still small in firefox and IE.

    I checked your site

    Please see below capture

    http://tenman.info/labo/snip/?attachment_id=4758

    entry title still small ?

    try below

    add child theme /style.css

    .entry-title span{
    	font-size:20px;
    }

    Thank you.

    Thread Starter ccpetersen

    (@ccpetersen)

    Okay, it works fine in Chrome, but looks small in IE and Firefox and Safari. However, what I need to do is check my settings in each of those browsers, which I will do. And then I shall report back to you what I find. It may be a problem in settings.

    Thank you again.

    CC

    Thread Starter ccpetersen

    (@ccpetersen)

    Okay, it now looks good in all the different browsers except Safari, which I expected. Safari is “weird”. πŸ˜‰

    I will let you know if I have further questions. THANK YOU for helping me out.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘problems with theme in header and divs’ is closed to new replies.