WordPress.org

Forums

Some questions about P2 customization (7 posts)

  1. CyrilB
    Member
    Posted 4 years ago #

    Hi and thank's for this fabulous theme !

    I have some questions about the P2's customization, there is a picture of my page with the questions numbers.

    1) I don't find any way to delete the shadow effect arround the header. I can delet it on firebug but when i'm doing it on the .css, the shadow still remains... Any idea?

    2) WTF are these numbers? It's look like the post's hour (near the date) but in a strange format...

    3) How can I change the text for the search button? It doesn't fit in the buton and I'ld prefer a "Go"

    4) Is there any way to change the widgets CSS? I would like to replace the widget's title by a picture (like "EN DIRECT" on my homepage).

    If you need it, you can go on my WP.

  2. hedronist
    Member
    Posted 4 years ago #

    1. The shadow effect is coming from your embedded stylesheet. Comment out the following:

    -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) !important;

    By the way, I see quite a few !important in your styles. This is a strong indication of a lack of understanding of the "cascading" in Cascading Style Sheets (CSS). Properly created and sequenced CSS should have few, if any, !important attributes. Either use stronger id and class specification, or invest some time in learning CSS basics.

    2. You either solved the numbers problem in your theme, or (more likely) discovered they were a function of some browser plugin you had turned on.

    3. The search button appears to be the default WP search widget. Override the default behavior be creating a searchform.php in your theme folder. Examples of the code it should contain (with classes and ids) can be found at http://codex.wordpress.org/Function_Reference/get_search_form

    4. You can change the CSS to your heart's content. I recommend not doing this in any PHP file, but in your style.css file. When in doubt, put the new rules at the end of the file and make them tightly specified to just the element you want to change.

  3. Sergeev
    Member
    Posted 4 years ago #

    where i can find this embedded stylesheet?

  4. hedronist
    Member
    Posted 4 years ago #

    By embedded I meant using <style> ... </style> in-line, rather than loading an external CSS file. You may do this yourself or it may be done by a plugin. For example, the twenty ten weaver theme (a child theme of 2010) allows a large number of style adjustments and implements them by embedding a <i>large</i> block <style> information at the front of every page. (Something which I'm not too wild about.)

  5. Sergeev
    Member
    Posted 4 years ago #

    Thanks! =)

  6. Sergeev
    Member
    Posted 4 years ago #

    I found this code!
    It's locate in functions.php lines 694-696.

  7. sierrawhiskey
    Member
    Posted 4 years ago #

    hi there...

    just wanted to ask how to additional remove the shadow/frame from the footer.

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags