Support » Theme: Nisarg » [Nisarg]Textures of sidebar and main block.

  • Resolved raegar

    (@raegar)



    Hello, i’m newcomer from Russia and i’m sorry if my english is bad.

    I don’t understand, how can i change background image on sidebar and main block(idk how to say right). I tried to change background by one of methods, but it does not work correctly – background image appeared under widgets.

    I want to draw the site completely, but i don’t know how can i place parts of design in certain places.

    Help me and i will never forget your kindness 🙂

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • And how can i change a footer text correctly?

    Starting with your last question. You need a child theme to make changes to the footer. Copy the footer to your child theme using FTP or your host control panel.

    Then you want to copy and paste this to replace the footer portion:
    ?>
    </div><!– #content –>
    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <div class=”wrap” style=”width: 90%; margin: 0px auto;”>

    Whatever you want it to say! | I did Copyright © <?php echo date(“Y”) ?> “><?php bloginfo(‘name’); ?>. | All rights reserved. | Email or whatever Your Info
    </div><!– .wrap –>
    </footer><!– #colophon –>
    </div><!– .site-info –>
    </footer><!– #colophon –>
    </div><!– #page –>
    <?php wp_footer(); ?>

    I am not sure I understand your first question. The option to change the background image is in the customizer. It works for me.
    Is it the content block where the text is that you want to be an image?
    Share your url so I can better understand what you are asking.

    I’ll change texture of widget, sorry, i didn’t think about correct formulation.

    Something like… that. Part of my own pixel medieval design.

    http://i103.fastpic.ru/big/2018/0120/3e/45157f198bd4517f58b040c3eee5203e.png

    • This reply was modified 10 months, 3 weeks ago by  raegar.
    • This reply was modified 10 months, 3 weeks ago by  raegar.
    • This reply was modified 10 months, 3 weeks ago by  raegar.

    I am not sure how you could use that custom image in a widget.
    I found a plugin that lets you use css to customize widgets.
    Maybe this will work?
    https://wordpress.org/plugins/widget-css-classes/

    I have idea, but i’m not sure, good it or not.

    I can change widget transparent with simple css coding and draw this image on the website background. More plugins – more problems. What do you think? This is a good decision?

    By the concept #2.1, website background should be like a medieval town street and sidebar zone should be like a bulletin board.

    Can i type that in footer:”(c)2018 MidCraft RPG |Website working on WordPress|Based on theme: Nisarg” ? (i don’t have 7$ for now)

    • This reply was modified 10 months, 3 weeks ago by  raegar.

    You can try transparent and customizing for the image, not sure what happens with responsive?
    The footer doesn’t have to say anything about Nisarg or WordPress if you don’t want it to. It is free, no charge. Not sure why you think it is $7? You can put any info you want where I have “Whatever you want it to say!” I put your info after the copywright symbol. You can replace who your are or if you want to acknowledge you are the webmaster where I have “Email or whatever your info” .
    </div><!– #content –>
    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <div class=”wrap” style=”width: 90%; margin: 0px auto;”>

    Whatever you want it to say! | © 2018 MidCraft RPG <?php echo date(“Y”) ?> “><?php bloginfo(‘name’); ?>. | All rights reserved. | Email or whatever Your Info
    </div><!– .wrap –>
    </footer><!– #colophon –>
    </div><!– .site-info –>
    </footer><!– #colophon –>
    </div><!– #page –>
    <?php wp_footer(); ?>

    I tried to change website background with sidebar transparency, but with different screen resolution image will be larger or smaller than concept.

    About $7. When I thought about changing footer text, i was looking for information in russian WordPress communities. One of web masters told me about required paying $7 for deleting theme link from footer. Well, i’m happy that he was wrong. So, i can buy more coffee and more milk and more sugar and more-more cookies.

    I appreciate your help, Goldfishflake. Can you tell me, how can i change widget image and fix it? I have three widgets with different size and i tried to change background of widgets. But there’s something wrong, idk what is. May be i was mistaken and changed background of all widgets by line, but i’m not sure. As result, widget background image is cropped by widget size and i can’t fix it with my knowledge. How can i identify widget id and change background in certain widget?
    Thanks in advance.

    You need to find the id for your widgets to do this.
    I have never changed the background image on a widget but looked on google and found this and tested it on my nisarg website where it worked perfectly.

    Your first widget ID is #bbp_login_widget-3

    /* sidebar widget background image. no-repeat or choose repeat */
    #bbp_login_widget-3 {
    background-image: url(‘http://www.YourSite.com/photo/image.jpg’);
    background-repeat: no-repeat;
    }

    Change the url to your image and adjust repeat or no-repeat to suit the image.
    Let me know how it goes. Not sure what size your image needs to be to work in the widget, hope you can adjust to fit.

    • This reply was modified 10 months, 3 weeks ago by  Goldfishflake.

    I tried to add image to login widget, but it doesn’t work. White background still there.

    • This reply was modified 10 months, 3 weeks ago by  raegar.
    • This reply was modified 10 months, 3 weeks ago by  raegar.

    I don’t see a white background on your website that is linked above. Your background is black?

    Not sure why it didn’t work for you. I just did it on my nisarg site and it worked perfectly.

    Here is where I found the code: https://www.learnwebtraffic.com/internet-and-computer-tips-and-tricks/sidebar-widget-background-image-background-color/
    Maybe try a different widget ID?

    Oh, of course… I experimented with the code and forgot to change widget color back to white from transparent.

    Thanks for a link, i’ll try that. Wait for news 🙂

    Wow! It works! Half of the work is done, thanks to you.

    But i have one more problem. I have fixed image 213x112px, but first widget have 2 sizes. 213×112 when user is authorized and 213×315 when user is not authorized. Well, i can’t(i don’t want to do it bad) change background of the first widget ’cause it will be repeated or resized, depending on widget condition. Schtick was in pixel design. By the concepts #2.1,#2.4.1,#2.6.6, widgets should be like an iron framed boards attached to chains. Do you have any ideas? I want to make my website good.

    Maybe someone else can help you with logged in differences. Way beyond anything I have experience with. sorry.

    Anyway, thank you for your help. I will never forget you. At last, please, look at this page: http://midcraft-rpg.ru/thanks/

    Thanks again 🙂

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Nisarg]Textures of sidebar and main block.’ is closed to new replies.