Make adjustments to pop-up - by delanosuser

This topic has 8 replies, 4 voices, and was last updated 9 years, 1 months ago ago by Robert Hall

  • Avatar: delanosuser
    delanosuser
    Participant
    February 25, 2015 at 22:42

    I’d like to do a couple things:
    1) I’d like to override this style with my custom.css file:
    #etheme-popup {
    width: 700px;
    height: 350px;

    Ideally, I’d like the height to be 100% so that it fits the content placed into it from the static block id. This would allow it to resize in height from desktop to mobile view. When I place a css height on the #etheme-popup id in the custom css file, nothing happens.
    When I go to theme options > custom pop-up, I can set the height. When I put in 100% here, the css reads as follows:
    width: 700px;
    height: 100%px;
    Which is broken and then gives me the right height. Does that make sense? Is there a better, non-broken way to accomplish what I want?

    2) Where would I change the code to have a different word than NEWSLETTER, from the pop-up?
    Here in a child theme? Edit theme-functions.php file (line 1076) in wp-content/themes/woopress/framework directory

    7 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 26, 2015 at 08:59

    Hello,

    1)Please try to add this code into style.css of Child Theme or custom.css file.

    .mfp-inline-holder .mfp-content{
    height: 100%;
    }
    #etheme-popup{
    height: inherit;
    }

    2) Please provide us with link to the page and wp-admin access in Private Content.

    Regards,
    Robert Hall.

    Avatar: delanosuser
    delanosuser
    Participant
    February 26, 2015 at 15:34

    1) I don’t think the code worked, but I also removed the height from the theme options area, so it is now blank. Can you check on your end? Thank you. The pop up is accessed from clicking NEWSLETTER in the red bar at the top of every page.

    2) Okay – what I’d like to change it to is – Join our Preferred Customer Program.
    This text is in the red bar at the top of every page.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    February 26, 2015 at 20:59

    Hello,

    1. Try to use this code for pop up window:

    #etheme-popup {
     height: auto !important;
    }

    2. To change “Newsletter” word you need edit theme-functions.php file (line 1076) in wp-content/themes/royal/framework directory.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: delanosuser
    delanosuser
    Participant
    March 13, 2015 at 16:09

    If I wanted to do this in the child-theme, how would I do this?
    Do I need to put a copy of the theme-functions.php in the child-theme > framework>
    or does it go directly into the child-theme directory?
    Is it possible to edit this in the child theme?

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 13, 2015 at 17:21

    Please use the second way.

    With best regards
    Brian Johnson

    Avatar: delanosuser
    delanosuser
    Participant
    March 13, 2015 at 18:54

    It doesn’t seem to work in the child directory. Can you give me specifics for how to make it work?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 18, 2015 at 16:00

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.