WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Mantra theme design (51 posts)

  1. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    I think the issue may be that you'll need to copy the images folder (with images inside it) inside your Child Theme.

  2. shdaniyal
    Member
    Posted 1 year ago #

    but the thing is ...I have already made changes to the parent CSS.....
    fo example..After update , the CSS will import the NEW UPDATED CSS from the parent..and not the one I have made changes to. you gettin my point ?

    that is why I copied the entire modified CSS from the Parent theme

  3. shdaniyal
    Member
    Posted 1 year ago #

    would it be fine if I add the import function and add the ENTIRE CSS aswell below it ? ?

  4. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    Yes I understand your point.
    You can compare your style.css file (the one with a mixture of your changes & theme's changes) with the actual theme's original style.css code using this service http://www.diffchecker.com/ . Then you can take the changes you've made into the Child Theme stylesheet in conjunction with the @import.

  5. shdaniyal
    Member
    Posted 1 year ago #

    thank you for your help..
    can you help me with one last thing plz...
    I want to make a vertical menu like its on the left side...and upon hover it shows the subpages
    how can i make that ?
    i mean would I have to add the code to every page so that the menu can be displayed ? ...plz help

  6. shdaniyal
    Member
    Posted 1 year ago #

    LIKE this website

    http://www.cbr.gov.pk/

  7. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    i mean would I have to add the code to every page so that the menu can be displayed ?

    You would have to create a sidebar template file that contains the menu, then include that on your webpage's template file.
    More information found here http://codex.wordpress.org/Stepping_Into_Templates#More_Complex_Page_Structures

    To style a vertical menu, it probably has some CSS being applied to it that floats it left or displays it inline. You ought to float it none or display it block.

    To make the submenu appear on hover, you may need some CSS like this;

    #sidebar ul ul {
     display: none;
    }
    
    #sidebar ul li:hover ul{
     display: block;
    }
  8. shdaniyal
    Member
    Posted 1 year ago #

    okay thanks..I'll try to make this...

    Now my Child theme will remain activated right ??

  9. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    Yes.

  10. shdaniyal
    Member
    Posted 1 year ago #

    I have copied Uploads,images folder in the mantra-child but i still can see the header image :( ....

  11. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    Sorry, I can't see your Child Theme activated on oasis.pk

  12. shdaniyal
    Member
    Posted 1 year ago #

    now its activated and the header is gone....do i have to add any template??

  13. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    Sorry, I can only assume the header.php file is different to that of the original theme.

  14. shdaniyal
    Member
    Posted 1 year ago #

    they are both same...anyway thanks for your help :)

  15. shdaniyal
    Member
    Posted 1 year ago #

    what if i save the updated files....and after the website is updated...I replace them with the old modifications....would that be fine ?

  16. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I think the problem is that theme options are not carried over into a child theme -- it's like changing to any other new theme. So if your header was a theme setting, you just need to redo it in the child theme options.

  17. shdaniyal
    Member
    Posted 1 year ago #

    Yes Wpyogi I think you are right !

  18. shdaniyal
    Member
    Posted 1 year ago #

    but now i have saved the modified files in the child theme...and whenever the theme is updated, I will use the back up files in the theme

  19. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I would recommend using the standard set-up for the child theme - doing it another way may cause problems later.

  20. buddy_mohit
    Member
    Posted 1 year ago #

    hey m using mantra theme since a long time (http://www.sparkscoop.com). Its a nice theme. But i just want to remove the <h1> tags from my post title as for better SEO there must be only 1 <h1> tag in a page. Moreover, there are 10 post being shown in home page ..i just want to show only 5 posts in a page..please do help...m getting lot of trouble....

  21. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @buddy_mohit - this thread is outdated and already marked resolved. Please start your own thread:

    http://wordpress.org/support/theme/mantra

Topic Closed

This topic has been closed to new replies.

About this Topic