paulwpxp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Photo CSS HelpTo clarify this is what I meant
The post “Running from Rim Rock” when viewed from blog listing page will show no image but in the source code there is an image direct linked from WordPress.COM one
<div class="excerpt-wrapper"> <p><img width="400" height="" alt="" src="https://exploretherockies.files.wordpress.com/2015/11/23264037875_ab1dccf49c_o.png" class="alignleft"></p> <p>Two weeks ago ...<a href="http://exploringtherockies.com/2015/11/23/running-the-rim-rock/">Keep reading…</a></p> </div>and I just noticed that the domain is different (explore/exploring) too. But anyway there is image in the source code but it can not pull the image so it’s empty. On your home page right now I can not see any image in excerpt area, on the second page (older posts link) I can only see 1 image in exceprt area.
Forum: Themes and Templates
In reply to: Photo CSS HelpI’d like to repeat again that I won’t be able to see the images in excerpt area that are linked directly from your previous WordPress.COM, I suspect that the reason you can see them is because you logged in still, or even logged out it shows because your browser cache. The only images in excerpt area that I can see are ones linked from flickr.
If I were you I would go over each post and fix this, remove direct link to image from excerpt area, and use WordPress standard post thumbnail. Doing this for 230 posts will take like a few days but it’s worth doing it.
Now I’d just like to be able to modify sizes of certain photos here and there. So in other words, apply that rule unless I specifically say otherwise. Is there a way to maybe do that?
It might be possible using WordPress body class and/or post class, but to be able to come up with the right CSS you have to be more specific on your condition.
Forum: Themes and Templates
In reply to: [Aqueduct] Breaking News Ticker more than 5 items?The default is 7 not 5, see the posts_per_page parameter here at Line67
https://themes.trac.wordpress.org/browser/aqueduct/1.5.6/header.php#L67Using a child theme, we just copy over the header.php and change that number.
Forum: Themes and Templates
In reply to: How to change font size and colorWe need to create a new font control.
Settings > Google Fonts > Edit Front Controls (tab)> create a new front control
and then put in this CSS class (it is the one responsible for site title)
.site-name aForum: Themes and Templates
In reply to: Photo CSS HelpPut this code into Edit CSS (by Jetpack that you already have installed)
img { width: 100%; height: auto; }Forum: Themes and Templates
In reply to: How to change font size and colorTry searching for google font or custom font plugin
https://wordpress.org/plugins/search.php?q=custom+fontMost of the time one of these plugins would do it, but there might be some specific cases where we have to get the right CSS class name or id.
Forum: Themes and Templates
In reply to: Photo CSS HelpIt seems like you set the theme to not output post thumbnail on home or listing page because you put the image link into excerpt box, am I correct?
Anyway if you view source you’d see that images in excerpt area are still linked from WordPress.COM (and not from Jetpack’s Photon as in post content). I guess only you can see these images in the excerpt area because you still logged in at WordPress.COM, try log out and reload the site I guess you won’t see those images because I don’t.
If the above is true then it means that the transfer didn’t replace the old image file in excerpt area.
Forum: Themes and Templates
In reply to: Photo CSS HelpUsually when changing theme, we will use this plugin to fix the image sizes
https://wordpress.org/plugins/regenerate-thumbnails/But your site is using Jetpack with Photon module enabled. It output the image based on a parameter
$content_widthset by theme. So look into theme’s function and see this parameter.You can try this plugin and play around with the number
https://wordpress.org/plugins/custom-content-width/Forum: Themes and Templates
In reply to: [AccessPress Store] How to Reorganize pages in Sidebar?Create a new menu via Appearance > Menus
Save that menu but do not assign location
Go to Appearance > Widgets and drag in custom menuForum: Themes and Templates
In reply to: [Chunk] Chunk – Remove Category TextWe can just display-none it via CSS but first we need to install a Custom CSS plugin, so read through theme and pick one you like and install it
https://themes.trac.wordpress.org/browser/parabola/1.6.1/includes/theme-styles.php#L47Put this code in
.cat-links { display: none; }In the future when you decide to categorize your posts, remember that we can always change the default “uncategorized” to something else more generic or more relate to your site main content (for better SEO).
Forum: Themes and Templates
In reply to: [Parabola] Weird behavior: user-defined CSS vs. style.cssI found the problem, it’s because parent themes already enqueued its own stylesheet (we see this one coming in the version number 1.6.1 which is parent theme’s version), as shown at #Line15
https://themes.trac.wordpress.org/browser/parabola/1.6.1/includes/theme-styles.php#L15So in your child theme function, this line is not necessary, just remove it
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );Change this line
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style')To this
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parabola-style')So we use the same parameter
parabola-styleas dependency. What should happen now is that WP will load the dependency (parent theme stylesheet that registered asparabola-style) first and then your child stylesheet.Forum: Themes and Templates
In reply to: [Parabola] Weird behavior: user-defined CSS vs. style.cssAfter a closer look I was wrong. I mean yes there is double loading issue but it doesn’t account for problem posted here because it loads parent style first and then child theme style 2 times, so changes in child theme stylesheet should override parent’s.
The version number is a parameter in
wp_enqueue_style(). I think it’s default to WP’s version if none given.
https://developer.wordpress.org/reference/functions/wp_enqueue_style/Look inside your child theme
functions.php, and make sure it only enqueue child theme stylesheet once.Forum: Themes and Templates
In reply to: [Parabola] Weird behavior: user-defined CSS vs. style.cssView source and take a look at the HTML
<head><link rel='stylesheet' id='parent-style-css' href='http://www.loft75.de/wp-content/themes/parabola/style.css?ver=4.4.2' type='text/css' media='all' /> <link rel='stylesheet' id='child-style-css' href='http://www.loft75.de/wp-content/themes/loft75p/style.css?ver=4.4.2' type='text/css' media='all' /> <link rel='stylesheet' id='parabola-style-css' href='http://www.loft75.de/wp-content/themes/loft75p/style.css?ver=1.6.1' type='text/css' media='all' />It loads main theme styleseet 2 times, with child theme style in the middle. That explains your question why CSS works in Custom CSS plugin but not in child theme stylesheet.
Another thing, the
postshould be.post(with dot)Forum: Themes and Templates
In reply to: [Cerauno] Center Main NaviAhh! I forgot the mobile thing
Use this code instead
@media screen and (min-width: 37.5em) { .main-navigation > div:first-of-type { float: none; margin: 0 auto; } .main-navigation ul { display: block; text-align: center; } }Forum: Themes and Templates
In reply to: [Cerauno] Center Main NaviTry putting this in the bottom of your child theme stylesheet.
.main-navigation > div:first-of-type { float: none; margin: 0 auto; } .main-navigation ul { display: block; text-align: center; }As a sidenote, the logo is too small I think, especially when viewed in small screen device.