This topic has 8 replies, 4 voices, and was last updated 9 years, 1 months ago ago by Robert Hall
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
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.
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.
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.
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?
Please use the second way.
With best regards
Brian Johnson
It doesn’t seem to work in the child directory. Can you give me specifics for how to make it work?
Hello,
Please provide us with wp-admin and FTP credentials in Private Content.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up