Forum Replies Created
-
AuthorPosts
-
That file is in includes/admin/ How do I handle the child theme directory structure and function to override that file in the parent theme?
Thanks.
- This reply was modified 8 years, 3 months ago by rwwood.
I’m not sure what you mean by you can’t find the header widget. I don’t have a widget in the actual header. The h tags are in the sidebar where you put your test. But I notice that only that first title is h4, with the rest being h3.
My whole goal it to make all h3s, for example, the same size without additional size related css. In reality, that’s how sizing for header tags, with only the colors, font or styling perhaps being changed. So, code that only affects one of the widget header tags isn’t what I’m trying to do.
As to annotations, I believe that I’ve noted everything except for perhaps some code given me by support that I see in the single.php file. Actually, I think it’s a copy of index.php with a few changes made. I had moved the sidebar.php file into the child theme thinking I would need to modify it for the widget title names and not deleting it when I realized I didn’t.
I hope this helps define what I’m trying to do and that there’s a way to do it easily.
Thanks.
You’ll have to log in as admin to see the front page because I have it closed to the public at present. Then, I’m trying to switch the widget header titles in the sidebar to h4 rather than h3.
Thanks.
Ismael,
This is not working, even after changing your typo in the “before” line to h4 rather than h3.
Technically, if this works the way I think it should, the h4 should need no class name since all h4s on the site would have the same attributes as far as size, color, font, etc, and would only need a class if I wanted to change some attribute for a specific heading, but the size would not be one of those. Heading tags inherently have the size built in, or are supposed to.
Thanks.
- This reply was modified 8 years, 3 months ago by rwwood.
September 12, 2016 at 6:50 pm in reply to: [RESOLVED] Error message at top of admin screen, and bulk updates result …. #685308Finally solved. After all the updating of files, etc, I realized I had not done the one obvious thing and tried the Enfold parent theme rather than my child theme. Duh. It turns out a function in my child theme functions.php file was causing the problem. Thanks for the patience while I figured out my own mistake.
September 12, 2016 at 1:00 pm in reply to: [RESOLVED] Error message at top of admin screen, and bulk updates result …. #685044I tried that, but to no avail.
September 1, 2016 at 10:52 pm in reply to: [RESOLVED] Error message at top of admin screen, and bulk updates result …. #681041And how do I get those plugins back? The site is actually up anyway. If you tried to log in and got a white screen with the message, reloading would have brought up the dashboard, but with that same message at the top.
I just tried what you suggested, but the message is still there, even after a couple reloads and clearing the cache. I verified that the plugin menu item says that it doesn’t appear that I have any plugins.
removed
August 11, 2016 at 7:05 am in reply to: Dynamic styles from backend not being applied to front end #671186The child theme was set up and working before the problem occurred. I copied the base.css and layout.css files from the parent folder to the child folder, maintaining the directory structure, and then enqueued them in the child theme function.php. When I did, the dynamic font: family from the backend editor was no longer displayed. I’m guessing this is because the parent css, then the dynamic css, and finally the child theme css are applied in that order. I finally discovered that eliminating a font: inherit tag from one of the style sheets restored the desired font family to the front end, however it seems there should be a better way to accomplish the same end.
So, how would I use a code block element that would affect the whole site?
Is there a way to implement the jQuery solution on this page? I tried putting the code at the end of the footer.php file (with changes made to “content” and “sidebar” in the variable definitions), but it doesn’t add the inline style.
Thanks.
June 12, 2016 at 8:23 pm in reply to: {RESOLVED} Child theme throws 500 internal server error after upgrade to 3.6 #647011That seemed to fix it. Thanks.
June 10, 2016 at 8:30 am in reply to: {RESOLVED} Child theme throws 500 internal server error after upgrade to 3.6 #646081That didn’t happen initially. It happened when I tried it shortly after you posted your response, but then later it didn’t.
I did contact the hosting provider, and he checked the logs and a couple of other things, but essentially said that it wa a theme issue for which they did not have experience or responsibility to fix. I guess I pretty much agree with him.
Since the main Enfold theme works ok and the child theme does not, something has to be miss-configured.
I really hope this can be remedied soon.
June 8, 2016 at 3:40 am in reply to: {RESOLVED} Child theme throws 500 internal server error after upgrade to 3.6 #644473Vinay,
As I said in my original post, I’ve done what you suggested and it did NOT fix the problem with the child theme. The main theme works fine, but the child-theme does not.
Yeah, I did that. the problem occurs if you resize the window on a desktop computer. Normally, the content and sidebar resize proportionately, but with the above code. the sidebar stays the same width, obscures the content until the window gets down to mobile size when it then drops to the bottom of the screen.
BTW, I was using a 240 px sidebar width.
- This reply was modified 8 years, 7 months ago by rwwood.
It took me a while to get back to working on this, but the outcome is as follows: by using absolute positioning and 240px width for the sidebar, it looks fine at desktop size, but as the window is shrunk, the sidebar continues to be 240px wide and obscures part of the content until it gets down to where the menu drops to the bottom. If I use the :after pseudo element with absolute positioning and 100% min-height, the sidebar is only as long as the widgets it contains.
Any other suggestions? BTW, at this point I’m only using a color and not an image for the background, which I don’t think should make a difference.
Thanks.
Try adding
h1.main-title.entry-title { font-size: 20px; }
to quick css on the general styling page.
I don’t see what buttons you’re referring to on your page. Everything looks fine. I did notice that the padding you have for .avia-button-center has a space between the two 5s.
Make sure you do a hard refresh after changing your style sheets.
- This reply was modified 8 years, 8 months ago by rwwood.
Actually, this was much simpler than I thought. I added
.small-preview { background: transparent !important; }
to my css, and the gray background is gone from post preview images that aren’t square and from posts that don’t have a featured image. Granted, getting the default to be the author’s picture or avatar would be more difficult.
Thanks.l
April 27, 2016 at 10:28 pm in reply to: I can´t do almost anything on the website without a problem #623375I think part of the problem is that you keep posting new threads for what appears to be a continuation of the same problem related to updating the theme. In checking your post history, you have received a response to all except this one and the one you posted two days ago.
There are a number of reasons that you may be having problems, not the least of which may be the hosting company your site is on. If you stay with just one thread related to the problem you’re having rather than posting a new one with a slightly different title every time, I think you’ll eventually get to the bottom of this. Keep in mind that many theme companies don’t give free updates for their themes and don’t have the level of support that this one does.You may have to wait a while for a response because they work through the queue according to when a post was originally put up.
If you are using either Chrome or Firefox, use the developer tools to show you which css element has the font-size attached to it, then change the font-size for the active selector in either quick css or your child-theme’s style.css file. If that doesn’t work, post a link to your site and temporary admin login credentials in the private content area so that a moderator can give you more specific directions.
HTH.
Why do you want to do that?
April 27, 2016 at 7:32 pm in reply to: I can´t do almost anything on the website without a problem #623304You probably haven’t gotten help because you haven’t been very specific about what it is you can’t do. Try disabling ALL plugins, making sure you’re running the latest versions of both WordPress and Enfold, and make sure there is no caching software running on your hosting companies servers. Then repost a question that details what your doing and what doesn’t happen that you expect to happen, and put temporary admin login details in the Private Content area so that a moderator can check out what’s going on.
@patmc1, there is a learning curve to using Enfold, so don’t be so quick to think the problem is with the theme. More than likely the problem is with something you are or are not doing.Not the most elegant way to accomplish this, but I did it by using
display: none;
for the menu in the header, and adding a widget containing the main menu to the sidebar. If there’s another way, I’d like to know.Thanks.
Sorry, but it doesn’t. I did add the code to functions.php, BTW. I don’t know javascript that well, but it seems to me that
.container .av-content-small.units
is referring to a value that is only defined as a width of 73% in the enfold/functions.php and doesn’t show up anywhere on the generated page where the sidebar is.I don’t want to get rid of the preview image, only the gray image that shows up behind the preview image if it’s not the same size or if there is no preview image in the post. The css you gave removes all preview images.
That works to put an image or color behind the widgets in the sidebar, but the sidebar is still doesn’t extend the full length of the main content. Is there any way to do this using VH in the css for the sidebar without breaking something?
The home page to the site that I gave you the details for in my first post.
That works, but why doesn’t a percent value work? It works without the #top and without !important, so is there a reason to use them anyway?
Thanks.Sorry. Wrong h1. It’s the one next to the logo that I can’t resize, even by using something like
h1.site-name { font-size: 200%; }
-
AuthorPosts