WordPress.org

Ready to get started?Download WordPress

Forums

Programmers - Help -Twenty Eleven Child Theme (6 posts)

  1. pdnaegle
    Member
    Posted 2 years ago #

    Hello I am using a child theme of Twenty Eleven,

    I want to use a custom background design comp image. Its PNG format.
    I need to chat with someone who's experienced with development in
    this theme template with PHP,MySQL,CSS and Layout experience customizing this Twenty Eleven theme. My tasks are more advanced orientated.

    I know of the functions.php and using add_custom_background();
    to enable it in admin end correct? but its difficult when the tags I use through firebug do not end up being the proper tag to integrate my custom background for all content into. The body is the plain white I don't really need to edit, its the actual div where all header images, main content images and type will be placed.

    Thank you for any help.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Have a look at these two themes:
    http://wordpress.org/extend/themes/purple-pastels
    http://wordpress.org/extend/themes/victorian-xmas

    Effectively, you have to create a custom callback for both the admin and front end custom backgrounds.

  3. pdnaegle
    Member
    Posted 2 years ago #

    Well take a look....

    http://tinyurl.com/849dbg3

    the navigation and other elements are margin 0 auto or centered.
    But the divs for content are all like fluid 100% I think i'd have to recheck it's been a day or so. But the background needs to be centered but EVEN if I do center it it makes me have to start pixel pushing with positioning CSS then that somehow causes the div Widths to get all crazy and causes scroll bar on the bottom to appear.

    SO basically whats a more easy and method to starting this?

    The callback you are referring to is just a Function already existing from wordpress codex but I need to call upon it by ADDing it into the functions.php correct?

    But when you say "create a custom callback" for front end AND for the admin end.... what are you referring to?

    :)

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Did you have a look at either of those themes?

  5. pdnaegle
    Member
    Posted 2 years ago #

    I did but I just don't have time to re choose a theme.
    But question is if its fast enough to where I won't have to do too many changes. Because I have a few things like the font is using @font-face in css which was challenging to setup then the menu has that blue ribbon artwork I integrated on the proper tag background. Then I need the Logo in including the background main design artwork for all content of this theme.

    What do you think... will using those themes you suggested have quicker ways to implement all of this? and will those theme you suggest require me using the function callbacks still?

    If i still have to use function callbacks in code then what is the point? :)

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm not suggesting that you use those themes. Just have a look at how they use custom callbacks for the user-selectable background image in functions.php. You may be be able to re-use some of the code.

Topic Closed

This topic has been closed to new replies.

About this Topic