Custom Plugin CSS: Can’t update them!
It’s only a cache issue, you need to clean your browser and/or server cache.
It’s only a cache issue, you need to clean your browser and/or server cache.
As long as your theme has been set up properly for child themes, it doesn’t matter how many style sheets there are or where they are located in the actual theme. The style.css in the child theme directory will prevail over them. If it isn’t set up properly you can re-enqueue with a different priority. … Read more
Your is_int function is always returning true, because $count/2 is always an integer. is_int from the looks of it, just returns true if the parameter supplied is a number (integer), or false, if its anything else (string). Try changing if(is_int($count / 2)){ … } to if($count % 2 == 0) { //Code for even result … Read more
I was going to leave this as a comment since questions about CSS are off-topic here, but it wasn’t going to fit. There is a rule in your inline CSS at line 75, which hides the menu of the screens sized less than 750 pixel. This is it: @media only screen and (max-width: 750px) { … Read more
why not tie them all together? .et_pb_widget a.news-button { color: green; //example color. text-decoration: none; }
Here is the answer for you CSS issue. yes you can achieve that layout using CSS. Just follow this structure: <div class=”parent”> <div class=”image”><img src=””/></div> <div class = “overlay”> Add you title here </div> </div> here .parent must me position:relative and .overlay must be position:absolute with 100%width and bottom:0 . you can play around with … Read more
EDIT: Can you send link to that page so I can see the css? This is a bit of a shot in the dark, as I have only done this with adding image sizes but I am sure you should be able to alter the thumbnail crop position. Are 100% the image src is incorrect … Read more
Yes you can with conditional tags. https://docs.woocommerce.com/document/conditional-tags/ So depending on whether you wanted it to appear on all woocommerce pages (the listing page as well as the individual product pages) you could use is_woocommerce() if you wanted just on individual product pages you could use is_product() So you would use an if statement to check … Read more
Suggest going through all options of the Theme Customization to setup (and understand) everything. Check the Menu area to make sure that the theme is selecting the proper menu. Look at the Menus that are defined to ensure you are selecting the correct menu. Some themes use ‘widget areas’ to allow for different content (including … Read more
In general, things that are not content, better not be in the DB in the first place. Site header images should be in you CSS, making them part of your code which you manage with GIT. This is obviously easier said than done with the way wordpress core and many plugins geared towards storing everything … Read more